Updated 2026-06-01

Rate limits & error codes

Rate limits per endpoint group and the structured error response format.

Saleporia APIs are rate-limited to ensure fair usage. Errors return structured JSON with consistent codes.

Rate limits

FieldTypeDescription
Store API120 req/minPer shop, on the /v1/store/ endpoints.
v1 Upload API60 req/minPer API key, on the /v1/upload endpoint.
Agent chat120 req/minPer user, on the /agent/chat endpoint.
Agent confirm60 req/minPer user, on the /agent/confirm endpoint.

Rate limit headers

When you exceed a rate limit, the API returns a 429 Too Many Requests status. Back off and retry with exponential backoff.

Error format

json
{
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "price must be a positive number",
    "details": { "field": "price" }
  }
}

Error codes

FieldTypeDescription
INVALID_KEY401The API key is missing, malformed, or invalid.
FORBIDDEN403The key's auth level doesn't permit this operation (e.g. write with a publishable key).
NOT_FOUND404The requested resource doesn't exist.
CONFLICT409A uniqueness constraint was violated (e.g. duplicate SKU or coupon code).
VALIDATION_ERROR422The request body failed validation. Details identify the offending field.
INTERNAL_ERROR500An unexpected server error. Retry with backoff; contact support if persistent.