Skip to main content


A loaded customer card.

type CustomerCardInstanceLoaded implements CustomerCardInstance {
id: ID!
customerId: ID!
customerCardConfig: CustomerCardConfig!
components: [CustomerCardComponent!]
loadedAt: DateTime!
expiresAt: DateTime!
createdAt: DateTime!
createdBy: Actor!
updatedAt: DateTime!
updatedBy: Actor!

Fields ● ID! non-null scalar

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

CustomerCardInstanceLoaded.customerId ● ID! non-null scalar

The customer the instance is for.

CustomerCardInstanceLoaded.customerCardConfig ● CustomerCardConfig! non-null object

The customer card config this instance is for.

CustomerCardInstanceLoaded.components ● [CustomerCardComponent!] list union

The list of components of the customer card. If this is null it means the customer card was returned on the API, but the components array was empty.

CustomerCardInstanceLoaded.loadedAt ● DateTime! non-null object

When the customer card was received from the API.

CustomerCardInstanceLoaded.expiresAt ● DateTime! non-null object

CustomerCardInstanceLoaded.createdAt ● DateTime! non-null object

CustomerCardInstanceLoaded.createdBy ● Actor! non-null union

CustomerCardInstanceLoaded.updatedAt ● DateTime! non-null object

CustomerCardInstanceLoaded.updatedBy ● Actor! non-null union


CustomerCardInstance interface

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