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

Authorizations

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

Long-lived Admin API key issued from the Juo merchant portal. Pass as the X-Juo-Admin-Api-Key header.

Headers

X-Tenant-ID
string
required

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

Default Response

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