Draft Order Available Delivery Options Input
The input fields used to determine available delivery options for 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 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 discountCodesdiscount•[String!]
Codes 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 lineItemsline•[Draft
Items Order Line Item Input!] Product variant line item or custom line item associated to the draft order. Each draft order must include at least one line item.
- Anchor to marketRegionCountryCodemarket•Country
Region Country Code Code The selected country code that determines the pricing of the draft order.
- Anchor to purchasingEntitypurchasing•Purchasing
Entity Entity Input The purchasing entity for the draft order.
- Anchor to shippingAddressshipping•Mailing
Address Address Input The mailing address to where the order will be shipped.