AdminPostDraftOrdersReq
The details of the draft order to create.
Properties
emailstringRequiredThe email of the customer of the draft order
region_idstringRequiredThe ID of the region for the draft order
The shipping methods for the draft order
statusstringThe status of the draft order. The draft order's default status is 
open. It's changed to completed when its payment is marked as paid.billing_addressstring | AddressPayloadThe Address to be used for billing purposes.
shipping_addressstring | AddressPayloadThe Address to be used for shipping purposes.
itemsItem[]The draft order's line items.
itemsItem[]discountsDiscount[]The discounts to add to the draft order
discountsDiscount[]customer_idstringThe ID of the customer this draft order is associated with.
no_notification_orderbooleanAn optional flag passed to the resulting order that indicates whether the customer should receive notifications about order updates.
metadataRecord<string, unknown>The optional key-value map with additional details about the Draft Order.
Default: {}
Was this section helpful?