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
Request
- Base URLhttps://www.faire.com/external-api/v2
- AuthAPI key in header X-FAIRE-OAUTH-ACCESS-TOKEN and API key in header X-FAIRE-APP-CREDENTIALS
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
product_idstring required
Request body
Example request
{
"variant_option_sets": [
{
"name": "Scent"
}
]
}Response
Successful response
Example response
{
"variant_option_sets": [
{
"name": "Scent"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.