Update Product Reviews
PUT/products/reviews/:reviewId
Update status, reply, etc of a particular review
Request
Version stringrequired
API Version
Available options
v3reviewId stringrequired
Review Id
- application/json
- Body
- Example (auto)
Bodyrequired
altIdstringrequired
Location Id or Agency Id
altTypestringrequired
Available options
locationproductIdstringrequired
Product Id
statusstringrequired
Status of the review
replyobject[]
Reply of the review
ratingnumber
Rating of the product
headlinestring
Headline of the Review
detailstring
Detailed Review of the product
{
"altId": "6578278e879ad2646715ba9c",
"altType": "location",
"productId": "6578278e879ad2646715ba9c",
"status": "approved",
"reply": [
{
"headline": "Amazing product with great quality",
"comment": "This product exceeded my expectations in terms of quality and performance. Highly recommended!",
"user": {
"name": "John Doe",
"phone": "+1-555-555-5555",
"isCustomer": true
}
}
],
"rating": "4.5",
"headline": "Amazing product with great quality",
"detail": "The product is for sure a must and recommended buy"
}
Successful response
- application/json
- Schema
- Example (auto)
Schema
statusbooleanrequired
Status of api action
messagestring
Success message
{
"status": true,
"message": "Successfully created"
}