Setup
Headers
Smake Production Preparation API - Headers
The API only supports the data format JSON. Therefore, make sure you have the following headers set on each request.
POST /preparation-orders/1/customer-token HTTP/1.1
Authorization: Bearer API_TOKEN_HERE
Accept: application/json
Content-Type: application/json| Header | Description |
|---|---|
| Authorization | The API token, see Authentication. |
| Accept | Must contain application/json. Requests without it are answered with 406 Not Acceptable. |
| Content-Type | Must be application/json for requests with a body. Otherwise the API answers with 415 Unsupported Media Type. |
| X-Api-Version | Optional, the API version 2026-10-01. An unknown version is answered with 400 Bad Request. |
Each response returns the API version used in the X-Api-Version header.