novinzodevelopers
Your store's APIApps referenceVolume discounts

List Volume Discounts

GET/admin/volume-discounts

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.

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"    }  ]}