Car

Car

Kind: Object

Fields

Field Type Description
bodyType String The body type of the car
color String The color of the car
createdAt DateTime! Time when this car was created
customer RollerupCustomer The customer associated with the car
customerId String The customer ID associated with the car
id ID!
isMember Boolean! Whether the car belongs to a member or not
lastVisitedAt DateTime Timestamp of the vehicle’s most recent visit
lastVisitedLocation Location Location where the vehicle was last seen
make String The make of the car
membership Membership The membership associated with the car
membershipId String The membership ID associated with the car
model String The model of the car
nickname String The nickname associated with the car
plate String! The plate number of the car
rfidTag String The RFID tag, if there is one, on the car
state String! The state of the car
totalVisits Int! Total number of visits across all locations
updatedAt DateTime! Time when this car was last updated
year String The year of the car
stripeCustomer StripeCustomer Deprecated Use RollerupCustomer instead
The Stripe customer associated with the car

Definition

type Car {
  """The body type of the car"""
  bodyType: String
  """The color of the car"""
  color: String
  """Time when this car was created"""
  createdAt: DateTime!
  """The customer associated with the car"""
  customer: RollerupCustomer
  """The customer ID associated with the car"""
  customerId: String
  id: ID!
  """Whether the car belongs to a member or not"""
  isMember: Boolean!
  """Timestamp of the vehicle's most recent visit"""
  lastVisitedAt: DateTime
  """Location where the vehicle was last seen"""
  lastVisitedLocation: Location
  """The make of the car"""
  make: String
  """The membership associated with the car"""
  membership: Membership
  """The membership ID associated with the car"""
  membershipId: String
  """The model of the car"""
  model: String
  """The nickname associated with the car"""
  nickname: String
  """The plate number of the car"""
  plate: String!
  """The RFID tag, if there is one, on the car"""
  rfidTag: String
  """The state of the car"""
  state: String!
  """The Stripe customer associated with the car"""
  stripeCustomer: StripeCustomer @deprecated(reason: "Use RollerupCustomer instead")
  """Total number of visits across all locations"""
  totalVisits: Int!
  """Time when this car was last updated"""
  updatedAt: DateTime!
  """The year of the car"""
  year: String
}