post

/product/disable

The /product/disable endpoint disables a product and all its variants, making them unavailable for sale.

Returns

If this request succeeds, HTTP status code 200 is returned and response has code 0 and no data.

Request Body

Schema
object
or
object

Responses

Schema
object
code
number

Contains the status code for the request, 0 means success and any other number implies a failure

1 validation + required
message
string

Sometimes will store a human readable status message to aid in debugging. It is generally used only for errors

required
data
object

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
1 variable not set
host