Skip to main content

HTTP status codes

StatusMeaning
200 / 201Success. Body contains "success": true and a data field.
400Bad request / validation failure.
401Missing or invalid auth credentials.
403Feature not available on your plan → PLAN_UPGRADE_REQUIRED.
404Resource not found.
429Rate limited. Retry after the Retry-After header value.
500Unexpected server error. Contact support with the request ID.

Error response shape

{
  "success": false,
  "error": {
    "code":    "VALIDATION_ERROR",
    "message": "Rating must be between 1 and 5"
  }
}

Business-logic error codes

CodeWhen thrown
PLAN_UPGRADE_REQUIREDFeature requires Growth or Enterprise plan.
TOO_SOONReview younger than merchant’s minAgeDays policy.
MAX_UPDATES_REACHEDReview hit the maxUpdatesPerReview limit.
ALREADY_PENDINGA review update request is already in flight.
FILTERS_DISABLEDCustom attribute filters are unavailable because the attribute state is invalidated.
INVALID_SEQUENCEfeaturedSequence is out of range (must be 1–999).