OBJECT

Basket

Query: basket, returns Basket For all basket operations, there will be a default, unique API Basket name based on the user name. If a basket ID is not passed in, all operations will be performed on the default stored basket.

link GraphQL Schema definition

  • type Basket {
  • # The identifier for this basket
  • basketName: String
  • basketId: ID
  • orderId: String
  • basketLines: [BasketLine]
  • creator: 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
  • dateCreated(format: String): String
  • itemCount: Int
  • basketTotal: Price
  • basketTotalIncVat: Float
  • basketTotalExcVat: Float
  • shipping: Price
  • shippingIncVat: Float
  • shippingExcVat: Float
  • currency: String
  • shippingAddress: Address
  • billingAddress: Address
  • deliveryContact: String
  • deliveryContactPhone: String
  • poNumber: String
  • purchasingInstruction: String
  • }