---
search:
  tags:
    - Products
    - DELETE
seo:
  description: >-
    Deletes one variant, its prices, and every… Reference for the DELETE
    /api/v1/products/{id}/variants/{variantId} endpoint in the Bloomcount Public
    API API.
sidebar:
  label: Delete a variant
  badge: DELETE
title: Delete a variant
type: openapi-operation
---
Deletes one variant, its prices, and every event line that used it. The variant must belong to the product in
the path, so a caller cannot reach another product's variant through this URL
(`404 variant_not_on_product`).

Refuses with `409 variant_on_event_items:<count>` while the variant is on an event; `?force=true` deletes it
and its lines.

<Operation source="reference" id="delete-api-v1-products-id-variants-variantid" />
