Modo Claro
Update Review
PUT
/reviews/{review_id}Last modified: 18 days ago
This endpoint allows you to update a specific review by passing the review_id
as a path parameter.
Request
Parâmetros Path
Parâmetros Bodyapplication/json
is_published
boolean
opcional
Indicates whether the review is published publicly and seen on the Merchant store front
Exemplo
{
"is_published": true
}
Request samples
Respostas
Created Successfully(201)
Created Successfully
HTTP Code: 201
Content Type : JSONapplication/json
Esquema de Dados
No schema defined
Exemplo
{
"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: 18 days ago