Fenestro API Docs

Errors

Match client logic on the stable error value. The human message may change.

{
  "error": "validation_error",
  "message": "One or more fields are invalid.",
  "details": [
    { "field": "name", "issue": "required" }
  ]
}

Common codes

HTTPErrorMeaning
400validation_errorJSON body or field constraints are invalid.
400invalid_categoryThe category does not exist, is inactive, or belongs to another tenant.
400invalid_brandThe brand does not exist, is inactive, or belongs to another tenant.
401missing_authenticationNo bearer token was provided.
401invalid_tokenThe token is unknown or malformed.
401revoked_tokenThe token has been revoked.
404not_foundThe resource does not exist for this tenant.
409duplicate_referenceA product reference already exists for this tenant.
409product_in_useThe product cannot be permanently deleted because business records reference it.
429rate_limit_exceededThe caller exceeded the request rate limit.