Anchor to DraftOrderAppliedDiscountInputDraft
input_objectDraft Order Applied Discount Input
The input fields for applying an order-level discount to a draft order.
Anchor to FieldsFields
- Anchor to amountWithCurrencyamount•Money
With Currency Input The applied amount of the discount in the specified currency.
- Anchor to descriptiondescription•String
Reason for the discount.
- Anchor to titletitle•String
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•Draft
Type Order Applied Discount Type!non-null The type of discount.
- Anchor to amountamount•MoneyDeprecated
Was this section helpful?
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.
Was this section helpful?