OBJECT

Order

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

link GraphQL Schema definition

  • type Order {
  • order_name: String
  • order_id: ID
  • # See the User type for fields that can be accessed here
  • creator: User
  • date_created: String
  • item_count: Int
  • # The current status of the order
  • status: String!
  • # The reason the order was cancelled or null if it was not cancelled.
  • cancellation_reason: String
  • # The date and time the order was cancelled or null if it was not cancelled
  • cancellation_date: String
  • basket_total: Price
  • basket_total_inc_vat: Float
  • basket_total_exc_vat: Float
  • products_total: Price
  • products_total_inc_vat: Float
  • products_total_exc_vat: Float
  • shipping: Price
  • shipping_inc_vat: Float
  • shipping_exc_vat: Float
  • currency: String
  • # A list of each individual line within this order
  • lines: [OrderLine]
  • despatches: [Despatch]
  • shipping_address: Address
  • billing_address: Address
  • delivery_contact: String
  • delivery_contact_phone: String
  • delivery_contact_email: String
  • po_number: String
  • payment_method: String
  • store_collection: Boolean
  • collected: Boolean
  • }