OBJECT

Order

The Order object returns all the information required when asking for information on an order

link GraphQL Schema definition

  • type Order {
  • orderName: String
  • orderId: ID
  • # See the User type for fields that can be accessed here
  • creator: User
  • # Arguments
  • # format: the desired format of the date. Uses ISO8601 date and
  • # time by default. See
  • # https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/time/format/DateTimeFormatter.html#patterns
  • # for a detailed description of how to specify alternative formats
  • dateCreated(format: String): String
  • # Arguments
  • # format: the desired format of the date. Uses ISO8601 date and
  • # time by default. See
  • # https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/time/format/DateTimeFormatter.html#patterns
  • # for a detailed description of how to specify alternative formats
  • dateStored(format: String): String
  • itemCount: Int
  • # The current status of the order
  • status: String!
  • basketTotal: Price
  • basketTotalIncVat: Float
  • basketTotalExcVat: Float
  • productsTotal: Price
  • productsTotalIncVat: Float
  • productsTotalExcVat: Float
  • shipping: Price
  • shippingIncVat: Float
  • shippingExcVat: Float
  • currency: String
  • # See the OrderLine type for fields that can be accessed here
  • lines: [OrderLine]
  • # See the Address type for fields that can be accessed here
  • shippingAddress: Address
  • billingAddress: Address
  • deliveryContact: String
  • deliveryContactPhone: String
  • deliveryContactEmail: String
  • poNumber: String
  • paymentMethod: String
  • storeCollection: Boolean
  • collected: Boolean
  • purchasingInstruction: String
  • }