For the complete documentation index, see llms.txt. This page is also available as Markdown.

applyDiscountCode

Applies a discount code to a cart.

Arguments

Argument
Description

Parameters for ApplyDiscountCode

ApplyDiscountCodeInput Arguments

Argument
Description

discountCode (String!)

The discount code to apply to the cart.

subscriptionId (ID)

ID of the subscription to update. Required when authenticated through a project.

Return fields

appliedPromotion (AppliedPromotion)

cart (Cart!)

errors ([ModelValidationError!]!)

Last updated

Was this helpful?