REST API
Search…
Data Reference

General data types

Currency

We use the ISO 4217 standard for defining currencies. Examples are USD, GBP, EUR or SEK.
1
{
2
"priceCurrency": "USD"
3
}
Copied!

Amount

Price amounts should include decimals.
1
{
2
"price": 100.00
3
}
Copied!

Date

Dates are expressed according to the ISO 8601 standard with combined date, time and timezone. In some cases, we also accept values in the YYYY-MM-DD format, for example when filtering. Check the body request examples on each endpoint.
1
{
2
"createdAt": "2018-08-08T08:37:22Z",
3
"dateFrom": "1981-09-06"
4
}
Copied!

String

Strings may be up to 255 characters, unless otherwise noted in the field description.

Locale & Country

Locales should be formatted as a language tag consisting of a two-letter language code combined with a two-letter country code according to RFC 5646. Examples are en-us for US English, en-gb for British English and nb-no for Norwegian.
Countries are handled as two-letter country codes according to ISO 3166 alpha-2. Examples are US for the United States, GB for Great Britain and NO for Norway.
1
{
2
"locale": "nb-no",
3
"country": "NO"
4
}
Copied!

Data types

Product data: Object explaining
User data