Skip to content
Guides menu
Guides/Data conventions

Data conventions

Read shop API money, times, identifiers, cursors, and stability labels correctly.

Preview: opening soon. Confirm each open route's exact fields in the reference.

  • Money: an integer in the currency's minor unit, paired with an ISO 4217 currency such as EUR. For example, 1250 and EUR mean EUR 12.50. A few answers do not name the currency; their amounts are in the shop's own currency (workshop service prices: the selling company's). Do not parse formatted display text to calculate totals.
  • Time: timestamps are UTC ISO 8601 values. A date without a time is a calendar day in the shop's time zone, not midnight UTC. Some answers name the time zone, such as Europe/Rome; where one does not, the reference says it is the shop's.
  • IDs: use the opaque ID the route returns. Do not derive it from a display name or assume an ID from a different shop is accepted.
  • Lists: use the route's opaque cursor and stable sort. Send the returned next cursor as the reference specifies; do not build one yourself. Data may change between pages. An erased customer is absent from later reads.
  • Stability: preview routes may change shape. v1 routes have a frozen contract. Read the badge on each operation and the changelog before upgrading an integration.

Never cache customer or other personal data in a shared cache. API key answers use Cache-Control: no-store.