Using this endpoint, you can get list of all quantity discounts with detailed info of each article (like in Detail of quantity discount endpoint) asynchronously.
See how Asynchronous requests work on our developer's portal.
Response will be in jsonlines format with each quantity discount taking one line of output file.
One quantity discount in response has the same format as in detail of quantity discount endpoint response. See Quantity discount snapshot schema for more details.
Result file is compressed using GZIP.
Security
shoptetAccessToken or shoptetPrivateApiToken
- Mock serverhttps://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/quantity-discounts/snapshot
- https://api.myshoptet.comhttps://api.myshoptet.com/api/quantity-discounts/snapshot
- shoptetAccessToken
- shoptetPrivateApiToken
curl -i -X GET \
'https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/quantity-discounts/snapshot?customerGroupCode=retail&validFrom=2028-05-28&validTo=2028-05-28&status=available&isActive=true&includeUnregisteredCustomers=true' \
-H 'Content-Type: application/json' \
-H 'Shoptet-Access-Token: YOUR_API_KEY_HERE'Response
{ "data": { "jobId": "ad24xod" }, "errors": [ { … } ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }