Skip to main content
Log inSign up
Anchor to DraftOrderAvailableDeliveryOptionsInput

DraftOrderAvailableDeliveryOptionsInput

input_object

The input fields used to determine available delivery options for a draft order.

Anchor to acceptAutomaticDiscountsacceptAutomaticDiscounts
•

Whether or not to accept automatic discounts on the draft order during calculation. If false, only discount codes and custom draft order discounts (see appliedDiscount) will be applied. If true, eligible automatic discounts will be applied in addition to discount codes and custom draft order discounts.

•

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.

•

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.

•

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 marketRegionCountryCodemarketRegionCountryCode
•

The selected country code that determines the pricing of the draft order.

•

The purchasing entity for the draft order.

•

The mailing address to where the order will be shipped.


Was this section helpful?