Localization
Language Header
You can include a custom header Language when making requests to the API.
This header determines both:
- Display language – The language used in the API response (product name, page content, etc.).
- Language restrictions – Any content limitations or filtering based on the chosen language.
Example values
SV– SwedishNO– NorwegianFI– FinnishDK– DanishEN– English
If no Language header is provided, the API will use the default language.
Note: For the moment, only one language can be requested at a time.
Support for retrieving multiple translations may be added in the future.
Currency Header
You can include a custom header Currency when making requests to the API.
This header determines both:
- Display currency – The currency used for prices in the API response.
- Currency restrictions – Any content limitations or filtering based on the chosen currency.
Currency codes can be found in Webbadmin under:
/webbadmin?funk=inst_tabeller_valutor_lista
Example values
SEK– Swedish KronaNOK– Norwegian KroneEUR– Euro
If no Currency header is provided, the API will use the default currency.
Domain Header
You can include a custom header Domain when making requests to the API.
This header determines:
- Domain restrictions – Any content limitations or filtering based on the chosen domain.
The value must be the ID of the domain, not the domain name itself.
Domain IDs can be found in Webbadmin under:
/webbadmin?funk=inst_tabeller_domaner_lista
Example values
12
If no Domain header is provided, the API will use the default domain.