Skip to main content
QUERY
customerCardConfig(customerCardConfigId: ID!): CustomerCardConfig

Arguments

customerCardConfigId
ID!
required
id
ID!

The ID of the customer card config.

order
Int!

The order in which this customer card config should be shown.

Duplicate order numbers are allowed, in case the order is the same they will be sorted based on id. The minimum is 0 and the maximum is 100000.

title
String!

The title of the card (max length: 500 characters).

key
String!

The key of the card, sent to your API in the request payload to identify which card is being requested (must be unique in a workspace, max length: 500 characters, must match regex: [a-zA-Z0-9_-]+).

defaultTimeToLiveSeconds
Int!

How long (in seconds) to cache a loaded card when your API response does not include its own TTL. Your API can override this per-response. (minimum: 15 seconds, maximum: 1 year or 31,536,000 seconds).

apiUrl
String!

The URL from which this card should be loaded (must start with https:// and be a valid URL, max length: 600 characters). Requires the customerCardConfigApiDetails:read permission.

An array of headers name-value pairs (maximum length of array: 20). Requires the customerCardConfigApiDetails:read permission.

isEnabled
Boolean!

Indicates if the customer card is enabled or not. Disabled customer card configs are not loaded or displayed for customers.

createdAt
createdBy
updatedAt
updatedBy
Query
Variables
Response