Preview

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

ApplyDiscountCodePayload

Payload returned after applying discount to cart

This page contains

    Fields

    cart: Cart PREVIEW

    Represent updated cart after applying the discount

    userErrors: [ApplyDiscountError!] PREVIEW

    Represent errors if any

    Mutations for ApplyDiscountCodePayload

    applyDiscountToCart PREVIEW

    Apply discount Code to the cart