Types
CreateCardDefinitionInput
Sets up a new card definition.
input
CreateCardDefinitionInputFields
description
String!
required
Free-text note about the card definition.
displayOptions
required
Card properties that present each card, as {key, value} items: key is name, description or image, value is the id of a card property in modifications.
id
String!
required
Raw id of the new card definition: a lowercase letter, then letters and digits (e.g. products). It can't change later. The other card definition mutations take the global CardDefinition.id.
modifications
required
Card properties to add, each with action ADD. They're saved as pending changes.
name
String!
required
Name of the card definition, shown in Studio.
propertyGroups
Groups of the card properties in modifications. A card property can be in one group only.
tags
[String!]!
required
Labels for grouping and filtering card definitions.
Was this page helpful?