Delete variant
del
/v1/products/{product_id}/variants/{variant_id}Remove a variant from a product.
Example
curl -X DELETE "https://api.ya.onl/v1/products/{product_id}/variants/{variant_id}" \
-H "X-API-Key: yv_live_v1_…"Parameters
product_idintegerpathProduct identifier
variant_idintegerpathVariant identifier
Responses
204Successful Response
401Invalid or missing API key
403API key lacks the
products:write scope404Variant not found
422Validation Error
429Rate limit exceeded
