Reference
Errors
A failed request answers with an HTTP status and one error object:
HTTP/1.1 422 Unprocessable Entity
{
"error": {
"code": "missing_field",
"message": "`customer.phone` is required, in international format with the country code (e.g. 201001234567).",
"field": "customer.phone"
}
} | Status | code | Meaning |
|---|---|---|
400 | invalid_json | The body is not a JSON object. |
401 | missing_api_key / invalid_api_key | No key, a wrong or rotated key, or the store was disconnected. |
404 | order_not_found | No order with this id was sent to this store. |
405 | method_not_allowed | Wrong method for this endpoint. |
409 | no_webhook_url | The test event needs a webhook URL first. |
413 | body_too_large | The body is larger than 64 KB. |
422 | missing_field / invalid_field / invalid_order | A field is missing or wrong; `field` names it. |
429 | rate_limited | More than 120 requests a minute for the store. |
500 | server_error | The order was not saved; send it again. |
Stuck, or need a field we don't have yet? Our team answers on WhatsApp.