Skip to main content
DELETE
Delete one product variant

Authorizations

Authorization
string
header
required

Keep the virtual.fit API key on your server.

Path Parameters

site_id
string<uuid>
required

Custom JavaScript site ID from virtual.fit.

product_id
string
required

Stable, case-sensitive identity that remains unchanged when the product's title, URL, options, variants, price, or media change. URL-encode it in the request path.

Maximum string length: 255
variant_id
string
required

URL-encoded source_variant_id previously synced under this product.

Maximum string length: 255

Response

Variant deleted.

deleted
boolean
required
product_id
string
required
variant_id
string
required