Change Product Status
POST https://api.salla.dev/admin/v2/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":"\u003cnumber\u003e","success":"\u003cboolean\u003e","data":{"message":"\u003cstring\u003e","code":"\u003cnumber\u003e"}}