DraftOrderInput
No description
input DraftOrderInput {
billingAddress: AddressInput
user: ID
userEmail: String
discount: PositiveDecimal
shippingAddress: AddressInput
shippingMethod: ID
voucher: ID
customerNote: String
channelId: ID
redirectUrl: String
externalReference: String
}
Fields
DraftOrderInput.billingAddress
● AddressInput
input
Billing address of the customer.
DraftOrderInput.user
● ID
scalar
Customer associated with the draft order.
DraftOrderInput.userEmail
● String
scalar
Email address of the customer.
DraftOrderInput.discount
● PositiveDecimal
scalar
Discount amount for the order.
DraftOrderInput.shippingAddress
● AddressInput
input
Shipping address of the customer.
DraftOrderInput.shippingMethod
● ID
scalar
ID of a selected shipping method.
DraftOrderInput.voucher
● ID
scalar
ID of the voucher associated with the order.
DraftOrderInput.customerNote
● String
scalar
A note from a customer. Visible by customers in the order summary.
DraftOrderInput.channelId
● ID
scalar
ID of the channel associated with the order.
DraftOrderInput.redirectUrl
● String
scalar
URL of a view where users should be redirected to see the order details. URL in RFC 1808 format.
DraftOrderInput.externalReference
● String
scalar
External ID of this order.
Added in Saleor 3.10
Member of
draftOrderUpdate
mutation
Was this page helpful?