Developers
Get started

Errors and rate limits

Stable error codes, when to retry, per-key quotas — the full catalogue.

All errors have the same shape and a stable code — that, not the message, is what your code must test:

JSON
{
  "success": false,
  "statusCode": 409,
  "error": {
    "statusCode": 409,
    "code": "CONFLICT",
    "message": "External reference 10293 already designates order WEB-2026-000042, with different content.",
    "detail": { "orderId": "0d5c…", "number": "WEB-2026-000042" }
  },
  "requestId": "7d0c1f9a-3e2b-4a51-9a8e-0b6f3c2d1e4f",
  "timestamp": "2026-10-02T09:15:00.000Z"
}

requestId (also in the X-Request-Id header) is what to quote to support. No error contains a stack trace, an SQL query, a table or host name.

Store-specific cases

StatusCodeWhenWhat to do
400VALIDATION_FAILEDinvalid field, several stores without X-QuoShop-Store (detail.stores)fix the request
401API_KEY_REVOKED, API_KEY_EXPIRED, API_KEY_INVALIDthe key is no longer validstop, ask for a new key — do not retry
403API_KEY_WRONG_PERIMETERQuoSuite key (qss_) on QuoShopuse a qsh_ key
403API_INSUFFICIENT_SCOPEmissing scope (detail.required)widen the key
404NOT_FOUNDunpublished product, another store’s order…—
409CONFLICTinsufficient stock; total ≠ expectedTotal; external reference already used for another order (detail.orderId); payment already recordedread message, fix — do not retry as is
409IDEMPOTENCY_IN_PROGRESSthe same Idempotency-Key is being processedretry after Retry-After
422BUSINESS_RULE_VIOLATIONunknown product, forbidden step transition, payment above the amount duefix
429API_RATE_LIMITEDquota reachedwait for Retry-After
5xxINTERNAL_ERROR, SERVICE_UNAVAILABLEoutage, maintenanceretry with the same Idempotency-Key

When to retry

Retry only: network errors, 429, 503, 5xx, 409 IDEMPOTENCY_IN_PROGRESS — with a growing delay (1 min, 5 min, 30 min…) and never before Retry-After. Any other 4xx will give the same answer: fix first. Details: Guarantee idempotency.

Rate limits

CounterDefault
Per key600 req/min
Per key, custom quota (maximum)3000 req/min
Per workspace (all keys)2000 req/min
Authentication failures per IP30/min, then 5 min block

Every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset. A full sync of a large catalogue stays far below the quota: a page of 100 products, one /inventory call, then one product page per changed product.

The full catalogue

StatusCodeWhen
400API_KEY_AMBIGUOUSAuthorization and X-API-Key carry two different keys.
400IDEMPOTENCY_KEY_INVALIDMalformed Idempotency-Key header (1–255 printable ASCII characters).
400INVALID_CURSORUnreadable cursor, or issued for another sort or other filters.
400VALIDATION_FAILEDMissing, unknown or mistyped field; unknown parameter; sort not allowed (detail.violations, detail.allowed).
401API_KEY_EXPIREDKey has expired.
401API_KEY_INVALIDUnknown or malformed key.
401API_KEY_MISSINGNo key presented.
401API_KEY_REVOKEDKey revoked.
401CUSTOMER_AUTH_FAILEDRental customer sign-in refused: wrong email or password, disabled account.
401CUSTOMER_SESSION_INVALIDRental customer session (X-Rental-Session) missing, expired or closed.
402FEATURE_NOT_INCLUDEDOption not included in the plan (multi-currency…).
402MODULE_NOT_INCLUDEDModule not included in the plan.
402PLAN_QUOTA_EXCEEDEDPlan quota reached by the operation (documents of the month…).
402SUBSCRIPTION_INACTIVEWorkspace subscription inactive.
403API_FEATURE_UNAVAILABLEOption required by the route missing from the plan (detail.features).
403API_INSUFFICIENT_SCOPEMissing scope (detail.required).
403API_KEY_WRONG_PERIMETERQuoSuite key on a QuoShop route, or the reverse; QuoRent key outside the rental routes and webhooks.
403API_MODULE_UNAVAILABLEResource module missing from the plan (detail.modules).
403API_ORIGIN_NOT_ALLOWEDBrowser call from an origin not allowed for this key.
403API_ROUTE_NOT_DECLAREDRoute not open to the public API.
403API_TENANT_INACTIVEWorkspace without an active subscription.
403API_TENANT_MISMATCHKey from another workspace than the one designated.
403FORBIDDENAction refused (suspended store…).
404NOT_FOUNDResource not found, of another kind, or from another workspace.
409CONFLICTUnique value already taken; external reference replayed with different content (detail).
409IDEMPOTENCY_IN_PROGRESSSame Idempotency-Key, first request still in progress (Retry-After).
410ENDPOINT_RETIREDDeprecated route whose end date has passed (detail.successor).
413PAYLOAD_TOO_LARGERequest body too large.
422BUSINESS_RULE_VIOLATIONERP business rule (forbidden transition, locked paid document, stock…).
422IDEMPOTENCY_KEY_REUSEDSame Idempotency-Key, different body or route.
429API_AUTH_BLOCKEDToo many authentication failures from this address.
429API_RATE_LIMITEDKey or workspace quota reached (Retry-After).
500INTERNAL_ERRORUnexpected error — quote requestId to support.
503SERVICE_UNAVAILABLETemporarily unavailable (Retry-After).