Skip to main content
PUT
Bulk Update Volume Discounts

Authorizations

Authorization
string
header
required

You can retrieve your API key from your dashboard under Account > Developers.

Path Parameters

shopId
integer
required

The shop ID.

Body

application/json
product_ids
integer[]

The products to update. The balance product is skipped.

Example:
all
boolean
Example:

false

volume_discounts
(object | null)[]

Must not have more than 10 items.

Example:

null

disable_volume_discounts_if_coupon
boolean | null
Example:

false

volume_discounts_combined
boolean

Count every variant of each product in the cart together toward its volume discount tiers. Left unchanged when omitted.

Example:

true

Response

200 - application/json
success
boolean
Example:

true

message
string
Example:

"Products updated successfully"

updated_count
integer
Example:

2

skipped_count
integer
Example:

0

skipped_product_ids
array
Example: