INPUT_OBJECT

DraftOrderCreateInput

link GraphQL Schema definition

  • input DraftOrderCreateInput {
  • # Billing address of the customer.
  • billingAddress: AddressInput
  • user: ID
  • # Email address of the customer.
  • userEmail: String
  • # Discount amount for the order.
  • discount: Decimal
  • # Shipping address of the customer.
  • shippingAddress: AddressInput
  • # ID of a selected shipping method.
  • shippingMethod: ID
  • # ID of the voucher associated with the order.
  • voucher: ID
  • # Variant line input consisting of variant ID and quantity of
  • # products.
  • lines: [OrderLineCreateInput]
  • }

link Require by