Preview

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

applyQuoteDiscount

Apply discount to quote

This page contains

    Authorization Rules

    This request requires authorization with at least one of the following scopes:

    Scopes

    ROLE_RESELLER

    ROLE_SALES_SUPPORT

    ROLE_CHANNEL_ADMIN

    ROLE_RESELLER_MANAGER

    ROLE_PARTNER

    Arguments

    input ApplyQuoteDiscountInput! PREVIEW

    ApplyQuoteDiscountInput fields

    quoteId ID!

    Quote to apply discount to

    discountCode String!

    Discount code

    itemIds [ID!]

    Optional specific item IDs to apply discount to

    Return Fields

    quoteSummary QuoteSummary PREVIEW

    Updated quote summary

    userErrors [ApplyDiscountError!] PREVIEW

    Discount application errors

    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.