Skip to content

List of order statuses

Request

Detailed information on order status within the e-shop.

Security
shoptetAccessToken or shoptetPrivateApiToken
Query
languagestring

Language of the translatable fields in the response (e.g. cs). If not provided, the default language of the e-shop is used. Requires the "Foreign Languages" module; without it the request fails with the missing-module error.

Example:language=cs
Headers
Content-Typestringrequired
Default:"application/json"
curl -i -X GET \
  'https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/orders/statuses?language=cs' \
  -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": { "defaultStatus": 0, "statuses": [ … ] }, "errors": [ { … } ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }