List Volume Discounts
/admin/volume-discountsEvery 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.
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/admin/volume-discounts"{ "volumeDiscounts": [ { "scope": { "_tag": "store" }, "tiers": [ { "minQuantity": 2, "percentOff": 0 } ], "updatedAt": "string", "productName": "string", "variantName": "string" } ]}Set Review Status PUT
Publishes a review on the storefront or hides it from there. A "hidden" review stays on the dashboard only and leaves its product's rating; publishing it again puts it back in.
Remove Volume Discount POST
Removes 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.
