latestOpenAPI 3.0.32026-08-083681145.6 KB
19558399745c
Products
Product Variants
PATCH /products/{product_id}/variant-option-sets
This endpoint replaces the current variant option sets of a product by the given new variant option sets. Options currently in use by variants cannot be removed. If the product is sold in prepacks, size options cannot be reorganized and new values cannot be inserted into the middle of the size options.
patch/products/{product_id}/variant-option-sets
Path parameters
product_idstring required
Request body
Example request
{
"variant_option_sets": [
{
"name": "Scent"
}
]
}Response
Successful response
Example response
{
"variant_option_sets": [
{
"name": "Scent"
}
]
}