DraftOrderAppliedDiscountInput
The input fields for applying an order-level discount to a draft order.
Anchor to FieldsFields
- Anchor to amountWithCurrencyamount•
With Currency The applied amount of the discount in the specified currency.
- Anchor to descriptiondescription•
Reason for the discount.
- Anchor to titletitle•
Title of the discount.
- Anchor to valuevalue•Float!non-null
The value of the discount. If the type of the discount is fixed amount, then this is a fixed amount in your shop currency. If the type is percentage, then this is the percentage.
- Anchor to valueTypevalue•
Type DraftOrder non-nullApplied Discount Type! The type of discount.
- Anchor to amountamount•MoneyDeprecated
The applied amount of the discount in your shop currency. Please use
instead.
Anchor to Input objects using this inputInput objects using this input
- •INPUT OBJECT
The discount that will be applied to the draft order. A draft order line item can have one discount. A draft order can also have one order-level discount.
- •INPUT OBJECT
The custom discount to be applied.