A customer reviews a product they received
Refused (403 NOT_ELIGIBLE) unless the customer has an order with status delivered (not a grouping parent) containing this product or another seller's offer of it (same product group). orderId optionally picks which of those orders; one that is not eligible is refused the same way. One review per customer × product: a second one is 409 ALREADY_REVIEWED (the review id is deterministic, so concurrent submissions collide too).
The review lands pending (verified) and goes online when the marketplace publishes it from the moderation queue, which also recomputes the product's rating. Title/body are stored as plain text (tags stripped).
The customer id comes from the token, never the body.
Auth: Bearer JWT required; allowed realms: customer.
Authorizations
Jeton client obtenu par POST /auth/login (ou /auth/register), renouvelé par POST /auth/refresh.
Parameters
Path Parameters
Request Body
Responses
Review received, awaiting moderation.