destroyOrderedProduct

Deletes an ordered product from the subscription identified via `X-Subscription-Token` or when authenticated through a project write token.

Arguments

Argument
Description

Parameters for DestroyOrderedProduct

DestroyOrderedProductInput Arguments

Argument
Description

id (ID)

shopifyVariantId (ID)

The Shopify variant ID to find the ordered product by

shopifyProductId (ID)

The Shopify product ID to find the ordered product by

subscriptionId (ID)

Required when using shopify_variant_id or shopify_product_id

Return fields

orderedProduct (OrderedProduct)

subscription (Subscription)

Last updated

Was this helpful?