Delink variants from a product.
1 min
POST
https://api.upstartcommerce.com/pim/products/{id}/delink-variants
acceptstringGenerated from available response content types
bodyobject
200All requested variants were successfully delinked from the product.
207<p>Partial success. Some variants were delinked while others failed (for example a variant that is not associated to the product or not found). The response body reports the per-variant status.</p>
curl --request POST \
--url https://api.upstartcommerce.com/pim/products/{id}/delink-variants \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"variantIds": []
}'