Stakk Docs
API

Errors

Error envelope returned by the Developer API.

Failed requests return HTTP 4xx/5xx with:

{
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "Email is required.",
    "doc_url": "/docs/api/errors",
    "details": [{ "field": "email", "message": "Email is required." }]
  }
}

Common codes

CodeStatusMeaning
UNAUTHORIZED401Missing or invalid API key
FORBIDDEN403Key is missing a scope
NOT_FOUND404Resource does not exist
VALIDATION_ERROR400Body or query failed validation
RATE_LIMITED429Too many requests
SHOP_UNAVAILABLE403Shop is closed or suspended

doc_url always points at this page.

On this page