OBJECT

Order

A cart that has turned into an immutable order.

link GraphQL Schema definition

  • type Order implements Node {
  • address: Address
  • billingAddress: Address
  • billingCompanyName: String
  • billingEmailAddress: String
  • billingFirstName: String
  • billingPhone: String
  • billingSurname: String
  • # ID of the cart that was converted into this order.
  • cartId: ID
  • companyName: String
  • emailAddress: String
  • externalId: String
  • externalIds: [ExternalID!]!
  • firstName: String
  • id: ID!
  • # Arguments
  • # after: Returns the elements in the list that come after the
  • # specified cursor.
  • # before: Returns the elements in the list that come before the
  • # specified cursor.
  • # first: Returns the first _n_ elements from the list.
  • # last: Returns the last _n_ elements from the list.
  • invoices(after: String, before: String, first: Int, last: Int): InvoiceConnection!
  • # Arguments
  • # after: Returns the elements in the list that come after the
  • # specified cursor.
  • # before: Returns the elements in the list that come before the
  • # specified cursor.
  • # first: Returns the first _n_ elements from the list.
  • # last: Returns the last _n_ elements from the list.
  • lineItems(after: String, before: String, first: Int, last: Int): LineItemConnection!
  • paymentInstrumentType: PaymentInstrumentTypeEnum
  • phone: String
  • postage: Float!
  • shipments: [Shipment!]!
  • status: OrderStatusEnum!
  • subtotal: Float!
  • surname: String
  • taxTotal: Float!
  • # Required for setting the current order on the checkout page via URL parameter.
  • token: String!
  • total: Float!
  • }