# CatalogColumn

> Interface in domain **Catalogs**

- HTML: [CatalogColumn.html](CatalogColumn.html)
- Raw SDL: [CatalogColumn.sdl](CatalogColumn.sdl)
- Covered by: [llms.txt](../llms.txt)

## Fields

- `id`: `ID!` _(beta)_ — `CatalogColumn` ID.
- `name`: `String!` _(beta)_ — `name` of the `CatalogColumn`.
- `position`: `Int!` _(beta)_ — `position` of the `CatalogColumn` for ordering.

## Related mutations

- [`clearCatalogColumn`](../mutation/clearCatalogColumn.md)
- [`createCatalogColumn`](../mutation/createCatalogColumn.md)
- [`duplicateCatalogColumn`](../mutation/duplicateCatalogColumn.md)
- [`moveCatalogColumn`](../mutation/moveCatalogColumn.md)
- [`removeCatalogColumns`](../mutation/removeCatalogColumns.md)
- [`setCatalogColumnAsPrimary`](../mutation/setCatalogColumnAsPrimary.md)
- [`updateCatalogColumn`](../mutation/updateCatalogColumn.md)

## Reach via

Example queries that can return this type from the root `Query`.

### `catalog › columns`

```graphql
query CatalogColumns {
  catalog(id: "…") {
    columns(limit: 25, page: 1) {
      items {
        __typename
        id
        name
        position
      }
    }
  }
}
```

Raw: [`CatalogColumns.sdl`](../examples/CatalogColumns.sdl)

### `catalog › primaryColumn`

```graphql
query CatalogPrimaryColumn {
  catalog(id: "…") {
    primaryColumn {
      __typename
      id
      name
      position
    }
  }
}
```

Raw: [`CatalogPrimaryColumn.sdl`](../examples/CatalogPrimaryColumn.sdl)

### `account › catalogs › columns`

```graphql
query AccountCatalogsColumns {
  account {
    catalogs(limit: 25, page: 1) {
      items {
        columns(limit: 25, page: 1) {
          items {
            __typename
            id
            name
            position
          }
        }
      }
    }
  }
}
```

Raw: [`AccountCatalogsColumns.sdl`](../examples/AccountCatalogsColumns.sdl)

### `account › catalogs › primaryColumn`

```graphql
query AccountCatalogsPrimaryColumn {
  account {
    catalogs(limit: 25, page: 1) {
      items {
        primaryColumn {
          __typename
          id
          name
          position
        }
      }
    }
  }
}
```

Raw: [`AccountCatalogsPrimaryColumn.sdl`](../examples/AccountCatalogsPrimaryColumn.sdl)

### `brand › customMetadataProperties › type › displayColumn`

```graphql
query BrandCustomMetadataPropertiesTypeDisplayColumn {
  brand(id: "…") {
    customMetadataProperties {
      type {
        ... on CustomMetadataPropertyTypeCatalog {
          displayColumn {
            __typename
            id
            name
            position
          }
        }
      }
    }
  }
}
```

Raw: [`BrandCustomMetadataPropertiesTypeDisplayColumn.sdl`](../examples/BrandCustomMetadataPropertiesTypeDisplayColumn.sdl)

### `library › customMetadataProperties › type › displayColumn`

```graphql
query LibraryCustomMetadataPropertiesTypeDisplayColumn {
  library(id: "…") {
    customMetadataProperties {
      type {
        ... on CustomMetadataPropertyTypeCatalog {
          displayColumn {
            __typename
            id
            name
            position
          }
        }
      }
    }
  }
}
```

Raw: [`LibraryCustomMetadataPropertiesTypeDisplayColumn.sdl`](../examples/LibraryCustomMetadataPropertiesTypeDisplayColumn.sdl)
