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


Remove discount Code from the cart

This page contains


    input RemoveDiscountCodeInput! PREVIEW

    RemoveDiscountCodeInput fields

    cartId ID!

    Represents the ID of the cart

    discountCode String!

    Represents the Discount Code of the cart

    Return Fields

    cart Cart PREVIEW

    Interactive example

    This is an example mutation query. Use the embedded interactive tool below to edit the query.

    Hint: use Ctrl + Space for autocompleting fields.