Type alias CreateCustomerCardConfigInput

CreateCustomerCardConfigInput: {
    apiHeaders: CustomerCardConfigApiHeaderInput[];
    apiUrl: Scalars["String"];
    defaultTimeToLiveSeconds: Scalars["Int"];
    key: Scalars["String"];
    title: Scalars["String"];
}

Input type to create a new customer card config.

By default new customer cards will have an ordering of 100000 (to place them at the bottom).

Type declaration

  • apiHeaders: CustomerCardConfigApiHeaderInput[]

    An array of headers name-value pairs (maximum length of array: 20).

  • apiUrl: Scalars["String"]

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

  • defaultTimeToLiveSeconds: Scalars["Int"]

    The default time the card should be cached for if no TTL is provided in the card response. (minimum: 15 seconds, maximum: 1 year or 31,536,000 seconds).

  • key: Scalars["String"]

    The key of the card (must be unique in a workspace, max length: 500 characters, must match regex: [a-zA-Z0-9_-]+).

  • title: Scalars["String"]

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

Generated using TypeDoc