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