DraftOrderAppliedDiscountInput input object

The input fields for applying an order-level discount to a draft order.

Input fields

  • amount ([Money](https://shopify.dev/docs/admin-api/graphql/reference/scalar#money-2021-01))
    The applied amount of the discount.
  • description ([String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    Reason for the discount.
  • title ([String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    Title of the discount.
  • value ([Float!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#float-2021-01)) REQUIRED
    The value of the discount. If the type of the discount is fixed amount, then this is a fixed dollar amount. If the type is percentage, then this is the percentage.
  • valueType ([DraftOrderAppliedDiscountType!](https://shopify.dev/docs/admin-api/graphql/reference/orders/draftorderapplieddiscounttype)) REQUIRED
    The type of discount.