Draft Order Input
The input fields used to create or update a draft order.
Anchor to FieldsFields
- Anchor to acceptAutomaticDiscountsaccept•Boolean
Automatic Discounts Whether or not to accept automatic discounts on the draft order during calculation. If false, only discount codes and custom draft order discounts (see
) will be applied. If true, eligible automatic discounts will be applied in addition to discount codes and custom draft order discounts.
- Anchor to allowDiscountCodesInCheckoutallow•Boolean
Discount Codes In Checkout Whether discount codes are allowed during checkout of this draft order.
- Anchor to appliedDiscountapplied•Draft
Discount Order Applied Discount Input 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.
- Anchor to billingAddressbilling•Mailing
Address Address Input The mailing address associated with the payment method.
- Anchor to customAttributescustom•[Attribute
Attributes Input!] The extra information added to the draft order on behalf of the customer.
- Anchor to discountCodesdiscount•[String!]
Codes The list of discount codes that will be attempted to be applied to the draft order. If the draft isn't eligible for any given discount code it will be skipped during calculation.
- Anchor to emailemail