Magidoc

DraftOrderCreateInput
Input Object

Fields

#

billingAddress

Billing address of the customer.

customerNote

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

discount

DEPRECATED: This field will be removed after 2023-12-31. Discount amount for the order

lines

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

seller

shippingAddress

Shipping address of the customer.

shippingMethod

ID of a selected shipping method. This field should be used only for Seller Orders.

status

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

Default: "DRAFT"

subStatus

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.

transactionCurrency

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

user

userEmail

Email address of the customer.

voucher

DEPRECATED: This field will be removed after 2023-12-31. ID of the voucher associated with the order.

Usages

#

References

#

  • Argument input of field draftOrderCreate from type Mutation