> For the complete documentation index, see [llms.txt](https://developer.firmhouse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.firmhouse.com/graphql-api/api-reference/objects/destroy-ordered-product-input.md).

# DestroyOrderedProductInput

### Fields

#### clientMutationId ([String](/graphql-api/api-reference/objects/string.md))

A unique identifier for the client performing the mutation.

#### id ([ID](/graphql-api/api-reference/objects/id.md))

ID of the ordered product to delete. Be careful when this is the subscription's last ordered product: deleting it can leave the subscription without an active product and may break downstream subscription behavior. For replacement flows, prefer updateOrderedProduct for an in-place product swap; if delete-and-create is required, create or verify the replacement first, then destroy the old line.

#### shopifyVariantId ([ID](/graphql-api/api-reference/objects/id.md))

The Shopify variant ID to find the ordered product by

#### shopifyProductId ([ID](/graphql-api/api-reference/objects/id.md))

The Shopify product ID to find the ordered product by

#### subscriptionId ([ID](/graphql-api/api-reference/objects/id.md))

Required when using shopify\_variant\_id or shopify\_product\_id
