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 input fields used to create or update a draft order.
- •INPUT OBJECT
The input fields for a line item included in a draft order.
Was this section helpful?