Change Special Offer Status

PUT {{baseUrl}}/specialoffers/:offer/status

You can update specific special offer status by providing the ID of the special offer you want to update its status in the offer path parameter.

Request Body

{"status"=>"inactive"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"status":200,"success":true,"data":{"code":200,"message":"تم تغيير الحالة بنجاح"}}