Skip to main content
DELETE
/
products
/
{productId}
/
variants
/
{variantId}
cURL
curl --request DELETE \
  --url https://api.juo.io/admin/v1/products/{productId}/variants/{variantId} \
  --header 'X-Juo-Admin-Api-Key: <api-key>'
{
  "id": "<string>",
  "deleted": true
}

Authorizations

X-Juo-Admin-Api-Key
string
header
required

Headers

X-Tenant-ID
string

Unique identifier of the tenant in the system (usually a store identifier)

Path Parameters

productId
string
required

The product identifier

Minimum string length: 1
variantId
string
required

The variant identifier

Minimum string length: 1

Response

200 - application/json

Default Response

id
string
required
deleted
enum<boolean>
required
Available options:
true