Light Mode
Change Special Offer Status
PUT
/specialoffers/{offer}/statusLast modified: 10 days ago
This endpoint allows you to update specific special offer status by passing the offer
as a path parameter.
Request
Path Params
offer
integer
required
The Special Offer ID. List of Special Offers ID can be found here.
Body Params application/json
status
string
required
The offer status.
Example
{
"status": "inactive"
}
Request samples
Responses
Progress In-Action(200)
Not Found(404)
Error Validation(422)
Progress In-Action
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"status": 200,
"success": true,
"data": {
"code": 200,
"message": "تم تغيير الحالة بنجاح"
}
}
Last modified: 10 days ago