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:
{
"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
| Status | Code | When | What to do |
|---|---|---|---|
| 400 | VALIDATION_FAILED | invalid field, several stores without X-QuoShop-Store (detail.stores) | fix the request |
| 401 | API_KEY_REVOKED, API_KEY_EXPIRED, API_KEY_INVALID | the key is no longer valid | stop, ask for a new key — do not retry |
| 403 | API_KEY_WRONG_PERIMETER | QuoSuite key (qss_) on QuoShop | use a qsh_ key |
| 403 | API_INSUFFICIENT_SCOPE | missing scope (detail.required) | widen the key |
| 404 | NOT_FOUND | unpublished product, another store’s order… | — |
| 409 | CONFLICT | insufficient stock; total ≠ expectedTotal; external reference already used for another order (detail.orderId); payment already recorded | read message, fix — do not retry as is |
| 409 | IDEMPOTENCY_IN_PROGRESS | the same Idempotency-Key is being processed | retry after Retry-After |
| 422 | BUSINESS_RULE_VIOLATION | unknown product, forbidden step transition, payment above the amount due | fix |
| 429 | API_RATE_LIMITED | quota reached | wait for Retry-After |
| 5xx | INTERNAL_ERROR, SERVICE_UNAVAILABLE | outage, maintenance | retry 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
| Counter | Default |
|---|---|
| Per key | 600 req/min |
| Per key, custom quota (maximum) | 3000 req/min |
| Per workspace (all keys) | 2000 req/min |
| Authentication failures per IP | 30/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
| Status | Code | When |
|---|---|---|
| 400 | API_KEY_AMBIGUOUS | Authorization and X-API-Key carry two different keys. |
| 400 | IDEMPOTENCY_KEY_INVALID | Malformed Idempotency-Key header (1–255 printable ASCII characters). |
| 400 | INVALID_CURSOR | Unreadable cursor, or issued for another sort or other filters. |
| 400 | VALIDATION_FAILED | Missing, unknown or mistyped field; unknown parameter; sort not allowed (detail.violations, detail.allowed). |
| 401 | API_KEY_EXPIRED | Key has expired. |
| 401 | API_KEY_INVALID | Unknown or malformed key. |
| 401 | API_KEY_MISSING | No key presented. |
| 401 | API_KEY_REVOKED | Key revoked. |
| 401 | CUSTOMER_AUTH_FAILED | Rental customer sign-in refused: wrong email or password, disabled account. |
| 401 | CUSTOMER_SESSION_INVALID | Rental customer session (X-Rental-Session) missing, expired or closed. |
| 402 | FEATURE_NOT_INCLUDED | Option not included in the plan (multi-currency…). |
| 402 | MODULE_NOT_INCLUDED | Module not included in the plan. |
| 402 | PLAN_QUOTA_EXCEEDED | Plan quota reached by the operation (documents of the month…). |
| 402 | SUBSCRIPTION_INACTIVE | Workspace subscription inactive. |
| 403 | API_FEATURE_UNAVAILABLE | Option required by the route missing from the plan (detail.features). |
| 403 | API_INSUFFICIENT_SCOPE | Missing scope (detail.required). |
| 403 | API_KEY_WRONG_PERIMETER | QuoSuite key on a QuoShop route, or the reverse; QuoRent key outside the rental routes and webhooks. |
| 403 | API_MODULE_UNAVAILABLE | Resource module missing from the plan (detail.modules). |
| 403 | API_ORIGIN_NOT_ALLOWED | Browser call from an origin not allowed for this key. |
| 403 | API_ROUTE_NOT_DECLARED | Route not open to the public API. |
| 403 | API_TENANT_INACTIVE | Workspace without an active subscription. |
| 403 | API_TENANT_MISMATCH | Key from another workspace than the one designated. |
| 403 | FORBIDDEN | Action refused (suspended store…). |
| 404 | NOT_FOUND | Resource not found, of another kind, or from another workspace. |
| 409 | CONFLICT | Unique value already taken; external reference replayed with different content (detail). |
| 409 | IDEMPOTENCY_IN_PROGRESS | Same Idempotency-Key, first request still in progress (Retry-After). |
| 410 | ENDPOINT_RETIRED | Deprecated route whose end date has passed (detail.successor). |
| 413 | PAYLOAD_TOO_LARGE | Request body too large. |
| 422 | BUSINESS_RULE_VIOLATION | ERP business rule (forbidden transition, locked paid document, stock…). |
| 422 | IDEMPOTENCY_KEY_REUSED | Same Idempotency-Key, different body or route. |
| 429 | API_AUTH_BLOCKED | Too many authentication failures from this address. |
| 429 | API_RATE_LIMITED | Key or workspace quota reached (Retry-After). |
| 500 | INTERNAL_ERROR | Unexpected error — quote requestId to support. |
| 503 | SERVICE_UNAVAILABLE | Temporarily unavailable (Retry-After). |