Logo of FrontifyDeveloper portalArrow to the right
GraphQL reference
Mutation

setCatalogColumnAsPrimary():SetCatalogColumnAsPrimary
Beta

Sets a CatalogColumn as the primary key column for its Catalog.

All mutations have exactly one input field called input with a unique input and return type. This is useful to write mutations with variables, so there is always one single variable per mutation. This makes it easier to use and reuse them.

Input fields of SetCatalogColumnAsPrimaryInput
id: ID!
Beta

The id of the CatalogColumn to set as primary key.

Fields of SetCatalogColumnAsPrimary
column:CatalogColumn!
Beta

The CatalogColumn that was just set as primary key.