Skip to main content
Every success response — from every service, through the gateway — is wrapped in the same envelope. You can rely on this shape for any 2xx response in this reference, even where an individual endpoint’s schema below doesn’t spell it out explicitly.

Success envelope

A single-entity response (e.g. fetching one order) puts that entity directly in data — there’s no extra nesting.

Pagination

List endpoints that paginate (orders, points history, product listings, etc.) populate meta:
Pass page and limit as query parameters; both are optional and endpoint-specific defaults apply (commonly page=1&limit=20).

Errors

Errors are not wrapped in the envelope above — they use a flatter shape so success: false is always the first thing to check. Validation errors (400, request body failed schema validation):
All other errors (auth failures, not-found, conflicts, server errors):
message can also be an array of strings for some framework-level validation failures. 500 responses always return the generic message "Internal server error" — details are logged server-side, never sent to the client.