Skip to content
Guides
API reference
stablecatalog:update

Create product review

POST/v1/catalog/products/{productId}/reviews

Authorization

bearerAuth
AuthorizationBearer <token>

OAuth2 access token issued by Ecomiq Auth.

In: header

Path Parameters

productId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/v1/catalog/products/string/reviews" \  -H "Content-Type: application/json" \  -d '{    "rating": 0,    "content": "string",    "title": null,    "reviewerName": null,    "reviewerEmail": null,    "customerId": null,    "orderId": null,    "status": null  }'
{  "id": "string",  "productId": "string",  "productName": "string",  "customerId": null,  "orderId": null,  "isVerifiedPurchase": true,  "rating": 0,  "title": null,  "content": "string",  "reviewerName": null,  "reviewerEmail": null,  "status": "pending",  "approvedAt": null,  "approvedBy": null,  "createdOn": "2019-08-24T14:15:22Z",  "updatedOn": null}