Manage Prices in Price List
POST
/admin/price-lists/{id}/prices/batch
Price Lists
Request Request Example
JavaScript
Shell
Java
Swift
curl --location -g --request POST '{{BASE_URL}}/admin/price-lists//prices/batch' \
--header 'Content-Type: application/json' \
--data-raw '{
"delete": [
"string"
],
"create": [
{
"currency_code": "string",
"amount": 0,
"variant_id": "string",
"min_quantity": 0,
"max_quantity": 0,
"rules": {
"region_id": 123
}
}
],
"update": [
{
"id": "string",
"currency_code": "string",
"amount": 0,
"variant_id": "string",
"min_quantity": 0,
"max_quantity": 0,
"rules": {
"region_id": 123
}
}
]
}'
Response Response Example
200 - Example 1
{
"created": [
{
"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"
}
],
"updated": [
{
"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"
}
],
"deleted": {
"object": "price",
"deleted": true,
"ids": [
"string"
]
}
}
Request
Path Params
id
stringÂ
required
Body Params application/json
Responses
Modified at 2025-06-17 04:10:32