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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"status":201,"success":true,"data":{"message":"The entity has been updated successfully","code":201}}