Skip to main content
Streamlined uses standard HTTP status codes. A 2xx means the request worked. A 4xx means something in the request needs to change. A 5xx means something went wrong on our side.

Status codes

Error bodies

Most errors return an error and a human-readable message:
Validation errors (422) list every problem, so you can fix them all at once:
Some endpoints add a stable code you can branch on. For example, approving a customer application returns a code such as shopify_location_required, and approved: true when the approval went through but the Shopify export didn’t. Each endpoint’s codes are listed in its guide and in the API reference.
Branch on status and code. Show message and errors to people, but don’t parse them: their wording can change.