cURL
curl --request DELETE \ --url https://api.loopreturns.com/api/v1/products/{productId}/product-variants/{id} \ --header 'X-Authorization: <api-key>'
{ "id": 2, "success": true }
Delete a product variant.
API Scope: "Product (write)"
The unique Loop identifier of the parent product.
The product variant's unique identifier.
Success
The unique integer identifier for the product variant, created by Loop.
x >= 1
98273402