Create a product review.
| Header | Type | Description |
|---|---|---|
Authorization | string | Provide the customer token as Bearer <jwt>. |
x-shop-id | string | Identify the shop. |
Content-Type | string | Always set to application/json. |
| Field | Type | Required | Description |
|---|---|---|---|
productId | string | Yes | Product identifier to review. |
orderId | string | Yes | Order ID containing the product. |
rating | integer | Yes | Rating from 1 to 5. |
comment | string | Yes | Review text. |
JWT issued by the Salesive Store API for authenticated shoppers.
Optional storefront identifier sent as a header to scope responses to a specific shop. Try It requests remember this value once provided.
Optional identifier that scopes responses to a specific storefront when the referer cannot be inferred.
Review created