Change Product Status

POST {{baseUrl}}/products/:product/status

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

Request Body

{"status"=>"sale"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"status":201,"success":true,"data":{"message":"The entity has been updated successfully","code":201}}