POST
/
vendor
/
price-lists
/
{id}
{
  "price_list": {
    "id": "<string>",
    "title": "<string>",
    "description": "<string>",
    "rules": {},
    "starts_at": "<string>",
    "ends_at": "<string>",
    "status": "draft",
    "type": "sale",
    "prices": [
      {
        "variant_id": "<string>",
        "rules": {},
        "id": "<string>",
        "title": "<string>",
        "currency_code": "usd",
        "amount": 123,
        "raw_amount": {},
        "min_quantity": 123,
        "max_quantity": 123,
        "price_set_id": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z",
        "deleted_at": "2023-11-07T05:31:56Z"
      }
    ],
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "deleted_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The ID of the price list.

Query Parameters

fields
string

Comma-separated fields to include in the response.

Body

application/json

Response

200 - application/json

OK

The response is of type object.