Light Mode
Restore Products
POST
/products/restore/{id}Last modified: 10 days ago
This endpoint allows you to restore a single product that is associated with the Merchant's store by passing the id
of the product as a path parameter.
:::warning[Note]
In case you did not pass a Product ID, the endpoint will restore all deleted products associated with the Merchant's store.
:::
Request
Path Params
id
integer
required
The Product ID you want to restore. To restore all deleted products, do not send a Product ID as a body parameter.
Example:
200309815
Request samples
Responses
Success(200)
Record Not Found(404)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"status": 200,
"success": true,
"data": {
"message": "تمت عملية الإستعادة بنجاح",
"code": 200
}
}
Last modified: 10 days ago