POST /catalog/products/{product_id}/reviews

Creates a Product Review.

Required Fields

Read-Only Fields

Servers

Path parameters

Name Type Required Description
product_id Integer Yes

The ID of the Product to which the resource belongs.

Request headers

Name Type Required Description
Accept String Yes

The MIME type of the response body.

Default value: "application/json"

Content-Type String Yes

The MIME type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
date_reviewed String Yes

Date the product was reviewed. Required in /POST.

email String No

The email of the reviewer. Must be a valid email, or an empty string.

name String No

The name of the reviewer.

text String No

The text for the product review.

rating Integer No

The rating of the product review. Must be one of 0, 1, 2, 3, 4, 5.

title String Yes

The title for the product review. Required in /POST.

status String No

The status of the product review. Must be one of approved, disapproved or pending.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.