Skip to content

Discount coupons template detail

Request

Returns a single discount coupon template by guid, including the list of specific products assigned to it.

Security
shoptetAccessToken or shoptetPrivateApiToken
Path
guidstringrequired

discount coupon template guid

Example:b6e09a7a-6cb5-11eb-89aa-08002746ad91
Headers
Content-Typestringrequired
Default:"application/json"
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'

Responses

OK

Bodyapplication/json
dataobjectrequired
errorsArray of objects or null(Errors)required
metadataobject(Metadata)required
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" } }