Skip to Content
StoreOSv0.27.1
Storefront GraphQL APIReferenceObjects

Cart

typeCart

Fields

  1. fields
_id*ID!
tenant*String!
cartId*String!
customerId?String
contact?
ip?String
location?
lineItems*
subTotalAmount*Float!
totalItems*Int!
status*CART_STATUS!
Value inACTIVEABANDONEDCONVERTED
lastActiveAt*DateTime!

A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.

abandonedAt?DateTime

A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.

convertedInvoiceUID?String
createdAt?DateTime

A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.

updatedAt?DateTime

A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.

SDL
type Cart {  _id: ID!  tenant: String!  cartId: String!  customerId: String  contact: CartContact  ip: String  location: CartLocation  lineItems: [CartLineItem!]!  subTotalAmount: Float!  totalItems: Int!  status: CART_STATUS!  lastActiveAt: DateTime!  abandonedAt: DateTime  convertedInvoiceUID: String  createdAt: DateTime  updatedAt: DateTime}