Remove Volume Discount
/admin/volume-discounts/removeRemoves the volume discount for scope, if there is one: its lines fall back to the next scope's. Orders it already discounted keep their discount.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/admin/volume-discounts/remove" \ -H "Content-Type: application/json" \ -d '{ "scope": { "_tag": "store" } }'List Volume Discounts GET
Every volume discount of the store, the store-wide one first, at most 100, with the names of the product and variant each covers. A cart line with at least a tier's minQuantity units takes that tier's percentOff (a percent from 0 to 100, so 15 takes 15% off) off the line, the highest tier it reaches. A line takes the volume discount of its variant, else of its product, else the store's. At most 10 tiers, each starting at more units and taking more off than the one before.
Set Volume Discount PUT
Sets the tiers of the volume discount for scope, replacing any it had. Checkouts priced with the old tiers are asked to price the cart again. A cart line with at least a tier's minQuantity units takes that tier's percentOff (a percent from 0 to 100, so 15 takes 15% off) off the line, the highest tier it reaches. A line takes the volume discount of its variant, else of its product, else the store's. At most 10 tiers, each starting at more units and taking more off than the one before.
