post

/product/update

Updates the specified product with the parameters passed in the request. Any attribute not provided will be left unchanged. For example, if you pass the name parameter the name of the product is updated, while other fields are left unchanged. This request can only update product attributes; even for products with a single variant, variant attributes cannot be modified.

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