Skip to main content

Class: AdminPostDraftOrdersReq

internal.AdminPostDraftOrdersReq

Properties

billing_address

Optional billing_address: string | AddressPayload

Defined in

medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:177


customer_id

Optional customer_id: string

Defined in

medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:182


discounts

Optional discounts: Discount[]

Defined in

medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:181


email

email: string

Defined in

medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:176


items

items: Item[]

Defined in

medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:179


metadata

Optional metadata: Record<string, unknown>

Defined in

medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:185


no_notification_order

Optional no_notification_order: boolean

Defined in

medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:183


region_id

region_id: string

Defined in

medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:180


shipping_address

Optional shipping_address: string | AddressPayload

Defined in

medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:178


shipping_methods

shipping_methods: ShippingMethod[]

Defined in

medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:184


status

Optional status: string

Defined in

medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:175