Skip to main content
Every request needs Authorization: Bearer <access_token>. The token names the store, so no store ID ever goes in the path.

Strict input

The API refuses what it does not know, so a typo fails loudly instead of being ignored:
  • The body must be a JSON object. A field the endpoint does not take answers 400 invalid_request.
  • An unknown or repeated query parameter answers 422.
  • Bodies are limited to 64 KiB.

PATCH changes only what you send

In a PATCH, a field you leave out stays as it is. A field set to null is refused, unless the docs say the field can be emptied.
changes the city and nothing else.

Text

Text fields are trimmed. Names and other one-line fields refuse invisible characters and <, and must show at least one visible character.

Money

Amounts are numbers in the store’s currency, from 0 to 100,000,000, with at most 4 decimals (Kuwait, Bahrain and Oman use 3). An amount that cannot be stored exactly is refused with the rule precision; it is never rounded. Shipping costs are an exception: from 0 to 1,000,000, with at most 2 decimals.

Dates

Dates are RFC 3339 in UTC, e.g. 2026-12-04T10:15:00Z.

Versions

v1 is stable. New fields and new endpoints are added to it, so ignore fields you do not know. A breaking change ships as a new version.