Skip to main content

Response Format

Join Markt returns JSON. Shapes differ by surface.

Embed checkout success

Embed checkout error

Checkout start

Catalog

Storefront payload includes store, stats, products, groups, feedback, categories. Products endpoint returns an array of public products.

Orders create

Track

Dashboard and Merchant API errors

Routes that use the shared error handler (handleRouteError in lib/api/responses.ts) return:
code keeps a domain-specific code when the route sets one. Otherwise it comes from the status: Unexpected 500s also carry an errorId you can quote to support. Merchant API success bodies are the resource object itself, with no data wrapper.

Status codes

200 success. 400 validation. 401 or 403 auth. 404 missing. 429 rate limit. 500 unexpected.

CORS

Embed checkout allows any origin. Theme APIs are same-origin.