BizKitHub
REVIEW_NOT_ALLOWED

You cannot write this review yet.

Z BizKitHub Docs, dokumentacja kodów błędów API

Nazwy i opisy kodów prowadzimy po angielsku.

HTTP 403Ogólne
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.

Przykładowa odpowiedź

API odpowiada statusem HTTP 403 i treścią w formacie JSON. Porównuj errorCode, nie message. Komunikaty mogą się zmieniać, kody pozostają stałe.

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"
}
Dokumentacja referencyjna:Kody błędów API|Ogólne|HTTP 403