BizKitHub
REVIEW_NOT_ALLOWED

You cannot write this review yet.

Z BizKitHub Docs, reference chybových kódů API

Názvy a popisy kódů udržujeme v angličtině.

HTTP 403Obecné
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ázka odpovědi

API odpoví statusem HTTP 403 a tělem ve formátu JSON. Porovnávejte errorCode, ne message. Zprávy se mohou přeformulovat, kódy zůstávají stejné.

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"
}