REVIEW_NOT_ALLOWEDYou cannot write this review yet.
Z BizKitHub Docs, referencia chybových kódov API
Názvy a popisy kódov udržiavame v angličtine.
HTTP 403Všeobecné
Reviews can only be written by customers with a delivered order (for a product review, an order containing that product), at least a few days after delivery, and only once per order. Call GET /shop/review/allowance first.
Ukážka odpovede
API odpovie statusom HTTP 403 a telom vo formáte JSON. Porovnávajte errorCode, nie message. Správy sa môžu preformulovať, kódy zostávajú rovnaké.
application/json
{
"state": "error",
"code": 403,
"message": "You cannot write this review yet.",
"errorCode": "REVIEW_NOT_ALLOWED",
"hint": "Reviews can only be written by customers with a delivered order (for a product review, an order containing that product), at least a few days after delivery, and only once per order. Call GET /shop/review/allowance first.",
"documentationUrl": "https://docs.bizkithub.com/errors/REVIEW_NOT_ALLOWED"
}