DraftOrderCreateInput
No description
input DraftOrderCreateInput {
billingAddress: AddressInput
user: ID
userEmail: String
discount: PositiveDecimal
shippingAddress: AddressInput
shippingMethod: ID
voucher: ID
voucherCode: String
customerNote: String
channelId: ID
redirectUrl: String
externalReference: String
lines: [OrderLineCreateInput!]
}
Fields
DraftOrderCreateInput.billingAddress ● AddressInput input miscellaneous
Billing address of the customer.
DraftOrderCreateInput.user ● ID scalar miscellaneous
Customer associated with the draft order.
DraftOrderCreateInput.userEmail ● String scalar miscellaneous
Email address of the customer.
DraftOrderCreateInput.discount ● PositiveDecimal scalar miscellaneous
Discount amount for the order.
DraftOrderCreateInput.shippingAddress ● AddressInput input miscellaneous
Shipping address of the customer.
DraftOrderCreateInput.shippingMethod ● ID scalar miscellaneous
ID of a selected shipping method.
DraftOrderCreateInput.voucher ● ID scalar miscellaneous
ID of the voucher associated with the order.
DraftOrderCreateInput.voucherCode ● String scalar miscellaneous
A code of the voucher associated with the order.
Added in Saleor 3.18
DraftOrderCreateInput.customerNote ● String scalar miscellaneous
A note from a customer. Visible by customers in the order summary.
DraftOrderCreateInput.channelId ● ID scalar miscellaneous
ID of the channel associated with the order.
DraftOrderCreateInput.redirectUrl ● String scalar miscellaneous
URL of a view where users should be redirected to see the order details. URL in RFC 1808 format.
DraftOrderCreateInput.externalReference ● String scalar miscellaneous
External ID of this order.
Added in Saleor 3.10
DraftOrderCreateInput.lines ● [OrderLineCreateInput!] list input orders
Variant line input consisting of variant ID and quantity of products.
Member Of
draftOrderCreate mutation