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 anerror and a human-readable message:
422) list every problem, so you can fix them all at once:
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.