Anchor to DraftOrderAppliedDiscountDraft
objectDraft Order Applied Discount
Requires access scope.
The order-level discount applied to a draft order.
Anchor to FieldsFields
- amountSet (MoneyBag!)
- description (String!)
- title (String)
- value (Float!)
- valueType (DraftOrderAppliedDiscountType!)
- Anchor to amountSetamount•Money
Set Bag! non-null The amount of money discounted, with values shown in both shop currency and presentment currency.
- Anchor to descriptiondescription•String!non-null
Description of the order-level discount.
- Anchor to titletitle•String
Name of the order-level discount.
- Anchor to valuevalue•Float!non-null
The order level discount amount. If
is"percentage", thenvalueis the percentage discount.- Anchor to valueTypevalue•Draft
Type Order Applied Discount Type! non-null Type of the order-level discount.
Deprecated fields
- amount (Money!): deprecated
- amountV2 (MoneyV2!): deprecated
- Anchor to amountamount•Money!non-nullDeprecated
- Anchor to amountV2amount•Money
V2 V2! non-nullDeprecated
Was this section helpful?