DraftOrderAvailableDeliveryOptionsInput
The input fields used to determine available delivery options for a draft order.
Anchor to FieldsFields
- Anchor to acceptAutomaticDiscountsaccept•
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•
Discount 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•
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•
Items 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•
Region Country Code The selected country code that determines the pricing of the draft order.
- Anchor to purchasingEntitypurchasing•
Entity The purchasing entity for the draft order.
- Anchor to shippingAddressshipping•
Address The mailing address to where the order will be shipped.
Map
No referencing types