Preview

ApplyDiscountInput is in Preview status and is subject to change without notice. For more information about Preview status, see the GraphQL API policy.

ApplyDiscountInput

Input parameters for applying a discount to a cart

This page contains

    Fields

    cartId ID!

    Unique identifier of the cart

    discountCode String!

    Discount code to be applied to the cart

    Mutations for ApplyDiscountInput

    applyDiscountToCart PREVIEW

    Applies a discount code to the cart