post https://api.fabric.inc/v3/products/sku//variants/actions/detach
When one or more variants of a product are discontinued or no longer required, you don't want them to appear as options.
This endpoint provides the flexibility to remove up to 25 variants by SKU and manage product options, efficiently.
Note:
1. Variants are only detached from the given product, not deleted. They can be reattached to the same or another product, at a later point.
2. At least one variant must be specified.
3. If you don't have product SKU, use the corresponding ID-based endpoint - POST /products/{id}/variants/actions/detach
.