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


Represents the parameters required for applying discount to cart

This page contains


    cartId ID!

    Represents the ID of the cart

    discountCode String!

    Represents the Discount Code of the cart

    Mutations for ApplyDiscountInput

    applyDiscountToCart PREVIEW

    Apply discount Code to the cart