Reference

Errors

A failed request answers with an HTTP status and one error object:

http
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"
  }
}
StatuscodeMeaning
400invalid_jsonThe body is not a JSON object.
401missing_api_key / invalid_api_keyNo key, a wrong or rotated key, or the store was disconnected.
404order_not_foundNo order with this id was sent to this store.
405method_not_allowedWrong method for this endpoint.
409no_webhook_urlThe test event needs a webhook URL first.
413body_too_largeThe body is larger than 64 KB.
422missing_field / invalid_field / invalid_orderA field is missing or wrong; `field` names it.
429rate_limitedMore than 120 requests a minute for the store.
500server_errorThe order was not saved; send it again.

Stuck, or need a field we don't have yet? Our team answers on WhatsApp.

Ask us on WhatsAppOpen the Yudoo app