Light Mode
Update Review
PUT
/reviews/{review_id}Last modified: a month ago
This endpoint allows you to update a specific review by passing the review_id
as a path parameter.
Request
Path Params
Body Params application/json
is_published
boolean
optional
Indicates whether the review is published publicly and seen on the Merchant store front
Example
{
"is_published": true
}
Request samples
Responses
Created Successfully(201)
Created Successfully
HTTP Code: 201
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"status": 200,
"success": true,
"data": {
"id": 1096828836,
"type": "ask",
"rating": 0,
"content": "A question",
"order_id": null,
"is_published": true,
"created_at": "2023-11-01 15:32:31",
"customer": {
"id": 1227534533,
"name": "Ahmed Ali",
"mobile": 565555555,
"email": "[email protected]",
"avatar": "https://cdn.assets.salla.network/admin/cp/assets/images/avatar_male.png",
"country": "السعودية",
"city": "الرياض"
}
}
}
Last modified: a month ago