Reviews
Get Product Reviews
GET https://api.bigcommerce.com/stores/{store_hash}/v3/catalog/products/{product_id}/reviewsRequest
Returns a list of all Product Reviews. Optional parameters can be passed in.
Authentication
- X-Auth-Token in headerrequired
Parameters
- store_hash in path - string
- status in query - integer
Filter items by status.
1
for approved,0
for pending.Allowed: 0 | 1
example
Response
Body
object | application/json
dataarray[object]
example
Create a Product Review
POST https://api.bigcommerce.com/stores/{store_hash}/v3/catalog/products/{product_id}/reviewsRequest
Creates a Product Review.
Required Fields
- title
- date_reviewed
Read-Only Fields
- id
Authentication
- X-Auth-Token in headerrequired
Parameters
- store_hash in path - string
Body
application/json
The model for a POST to create a product review.
example
Response
Body
object | application/json
Response payload for the BigCommerce API.
data
A product review model.
example
Get a Product Review
GET https://api.bigcommerce.com/stores/{store_hash}/v3/catalog/products/{product_id}/reviews/{review_id}Request
Returns a single Product Review. Optional parameters maybe passed in.
Authentication
- X-Auth-Token in headerrequired
Parameters
- store_hash in path - string
example
Response
Body
object | application/json
Response payload for the BigCommerce API.
data
A product review model.
example
Update a Product Review
PUT https://api.bigcommerce.com/stores/{store_hash}/v3/catalog/products/{product_id}/reviews/{review_id}Request
Updates a Product Review.
Required Fields
- none
Read-Only Fields
- id
Authentication
- X-Auth-Token in headerrequired
Parameters
- store_hash in path - string
A BigCommerce ProductReview
object.
Body
application/json
The model for a PUT to update a product review.
example
Response
Body
object | application/json
Response payload for the BigCommerce API.
data
A product review model.
example
Delete a Product Review
DELETE https://api.bigcommerce.com/stores/{store_hash}/v3/catalog/products/{product_id}/reviews/{review_id}Request
Deletes a Product Review.
Authentication
- X-Auth-Token in headerrequired
Parameters
- store_hash in path - string
example
Response
Did you find what you were looking for?