Create Price List
POST
/admin/price-lists
Price Lists
Request Request Example
JavaScript
Shell
Java
Swift
curl --location -g --request POST '{{BASE_URL}}/admin/price-lists' \
--header 'Content-Type: application/json' \
--data-raw '{
"title": "string",
"description": "string",
"starts_at": "2019-08-24T14:15:22Z",
"ends_at": "2019-08-24T14:15:22Z",
"status": "active",
"type": "sale",
"rules": {
"product_category_id": "pcat_123"
},
"prices": [
{
"currency_code": "string",
"amount": 0,
"variant_id": "string",
"min_quantity": 0,
"max_quantity": 0,
"rules": {
"region_id": "reg_123"
}
}
]
}'
Response Response Example
200 - Example 1
{
"price_list": {
"id": "string",
"title": "string",
"description": "string",
"rules": {},
"starts_at": "string",
"ends_at": "string",
"prices": [
{
"variant_id": "string",
"rules": {},
"id": "string",
"title": "string",
"currency_code": "usd",
"amount": 0,
"raw_amount": {},
"min_quantity": 0,
"max_quantity": 0,
"price_set_id": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z"
}
],
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z",
"status": "draft",
"type": "sale"
}
}
Request
Query Params
fields
stringÂ
fields
+
it will be added to the default fields, using -
will remove it from the default fields. without prefix it will replace the entire default fields.Body Params application/json
Responses
Modified at 2025-06-17 04:10:32