Update a variant

Updates the specified variant by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

Path Params
integer
required

Variant id

Body Params

Variant details

string
number | null
0 to 100000000000
number | null
0 to 100000000000
integer
≤ 2147483647
supplier_item_codes
array of strings
length ≥ 1
supplier_item_codes
string
length between 3 and 40
string
length ≤ 120
integer
≤ 2147483647
integer | null
≤ 999
number | null
0 to 999999999
config_attributes
array of objects
length ≥ 1
config_attributes
string
required

If a matching config name is not found, an error is returned. Use the product/material endpoint to update the configs.

string
required

If a matching config name is not found, the product/material config list of values is updated, and a new value is added.

custom_fields
array of objects
length ≤ 3
custom_fields
Responses

Language
Credentials
Bearer
Response
Choose an example:
application/json