Skip to main content
Anchor to DraftOrderAvailableDeliveryOptionsInput

DraftOrderAvailableDeliveryOptionsInput

input_object

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

Anchor to acceptAutomaticDiscountsacceptAutomaticDiscounts
•Boolean

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.

•DraftOrderAppliedDiscountInput

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.

Show input fields
•[String!]

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.

•[DraftOrderLineItemInput!]

Product variant line item or custom line item associated to the draft order. Each draft order must include at least one line item.

Show input fields
Anchor to marketRegionCountryCodemarketRegionCountryCode
•CountryCode

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

Show enum values
•PurchasingEntityInput

The purchasing entity for the draft order.

Show input fields
•MailingAddressInput

The mailing address to where the order will be shipped.

Show input fields

Was this section helpful?