Returns a single discount coupon template by guid, including the list of specific products assigned to it.
Security
shoptetAccessToken or shoptetPrivateApiToken
- Mock serverhttps://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/discount-coupons/templates/{guid}
- https://api.myshoptet.comhttps://api.myshoptet.com/api/discount-coupons/templates/{guid}
- shoptetAccessToken
- shoptetPrivateApiToken
curl -i -X GET \
https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/discount-coupons/templates/b6e09a7a-6cb5-11eb-89aa-08002746ad91 \
-H 'Content-Type: application/json' \
-H 'Shoptet-Access-Token: YOUR_API_KEY_HERE'Response
{ "data": { "guid": "1b02cb8e-d7b5-11e0-9a5c-feab5ed617ed", "title": "Luxury goods", "customerGroup": { … }, "categories": [ … ], "brands": [ … ], "productFlags": [ … ], "productSelectionMode": "parameters", "products": [ … ] }, "errors": [ { … } ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }