Skip to main content

CustomerCardInstance

A shared interface for all common properties customer card instances can have. A customer can only have one customer card instance for each customer card config at any point in time.

Has 3 implementations:

  • CustomerCardInstanceLoading
  • CustomerCardInstanceLoaded
  • CustomerCardInstanceError
interface CustomerCardInstance {
id: ID!
customerId: ID!
customerCardConfig: CustomerCardConfig!
createdAt: DateTime!
createdBy: Actor!
updatedAt: DateTime!
updatedBy: Actor!
}

Fields

id (ID!)

The ID of the customer card instance. A new ID is generated for each load

customerId (ID!)

The customer the instance is for

customerCardConfig (CustomerCardConfig!)

The customer card config this instance is for

createdAt (DateTime!)

createdBy (Actor!)

updatedAt (DateTime!)

updatedBy (Actor!)