Skip to main content

DraftOrderCreateInput

No description

input DraftOrderCreateInput {
billingAddress: AddressInput
user: ID
userEmail: String
shippingAddress: AddressInput
customerNote: String
subStatus: OrderSubStatusEnum @deprecated
lines: [OrderLineCreateInput!]
seller: ID
status: DraftOrderInitialStatus
transactionCurrency: String
}

Fields

DraftOrderCreateInput.billingAddress ● AddressInput input

Billing address of the customer.

DraftOrderCreateInput.user ● ID scalar

Customer associated with the draft order.

DraftOrderCreateInput.userEmail ● String scalar

Email address of the customer.

DraftOrderCreateInput.shippingAddress ● AddressInput input

Shipping address of the customer.

DraftOrderCreateInput.customerNote ● String scalar

A note from a customer. Visible by customers in the order summary.

DraftOrderCreateInput.subStatus ● OrderSubStatusEnum deprecated enum

DEPRECATED

This will be removed on September 9, 2025.

Sub status the order is to be changed to. Draft orders can have or be given a sub status of AWAITING_PAYMENT. Quote order can have or be given a sub status of either QUOTE_REQUESTED or IN_REVIEW.

DraftOrderCreateInput.lines ● [OrderLineCreateInput!] list input

Variant line input consisting of variant ID and quantity of products.

DraftOrderCreateInput.seller ● ID scalar

DraftOrderCreateInput.status ● DraftOrderInitialStatus enum

Specify which nautical order we want to create (DRAFT, by default).

DraftOrderCreateInput.transactionCurrency ● String scalar

Optional transaction currency code. Domiciled currency will be used as fallback.

Member Of

draftOrderCreate mutation

Was this page helpful?