Skip to main content
Every error code the API can return, generated from the API’s own catalog. Branch on error.code, never on message. Every 422 on an order means nothing was created: fix it and resend under the same partner_reference. Handle errors says which codes to retry.