Skip to main content
DELETE
/
api
/
v1
/
hub
/
shop
/
{shopId}
/
product
/
{productId}
/
variants
/
{variantId}
Delete Variant
curl --request DELETE \
  --url https://api.sabivendor.com/api/v1/hub/shop/{shopId}/product/{productId}/variants/{variantId} \
  --header 'X-Shop-API-Key: <x-shop-api-key>'
{
  "status": "success",
  "message": "Variant deleted successfully"
}
Removes a product variant configuration from inventory database records.

Authorizations

X-Shop-API-Key
string
required
Your Secret API Key (sk_live_... or sk_test_...) generated from the Developer dashboard. Must be kept secret.

Path Parameters

shopId
string
required
The unique UUID of the shop.
productId
number
required
The unique ID of the product.
variantId
number
required
The unique ID of the variant.
{
  "status": "success",
  "message": "Variant deleted successfully"
}