Base URL#
The base url for the API is https://api.nyehandel.se/api/v2
Authentication#
To authenticate, you will need to specify the X-identifier as well as a valid Bearer token.
This can be obtained by following these instructions: creating an API key from Nyehandel.The following headers should be set to authenticate:
X-identifier: {identifier from Nyehandel}
Authorization: Bearer {API key from Nyehandel}
The API uses JSON for both receiving and sending data. You should always have the following headers set:Content-Type: application/json
Accept: application/json
Language#
If not specified, the API will use the default language of the store (By default sv
). To use another language, add the header X-Language
, with a valid language code (like "en" for English, "fr" for French).For example, you can declare
X-Language: en
to both fetch and store translatable data in english.Modified at 2025-06-19 12:55:02