Create comment
Comments
Reply to comment
Reply to an existing comment on a product.
POST
Create comment
Request
Headers
| 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. |
Body parameters
| Field | Type | Required | Description |
|---|---|---|---|
productId | string | Yes | Product identifier. |
content | string | Yes | Reply text content. |
parentId | string | Yes | Parent comment ID to reply to. |
image | string | No | Optional image URL for the reply. |
Successful response
Error response
Authorizations
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.
Headers
Optional identifier that scopes responses to a specific storefront when the referer cannot be inferred.
Body
application/json

