Skip to main content
POST
Submit a rating after successful payment

Authorizations

X-Cart-Token
string
header
required

Purpose-limited capability returned for a guest cart.

Headers

Idempotency-Key
string
required

Caller-stable key reused only for retries of this exact request.

Required string length: 16 - 128
Pattern: ^[A-Za-z0-9._:-]{16,128}$

Path Parameters

locationId
string
required
Required string length: 1 - 128
cartId
string
required
Required string length: 1 - 128

Body

application/json
rating
integer
required
Required range: 1 <= x <= 5
comment
string
Maximum string length: 500

Response

Submitted rating.

success
enum<boolean>
required
Available options:
true
id
string
required
Required string length: 1 - 128