# CatalogCell

> Interface in domain **Catalogs**

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

## Fields

- `column`: `CatalogColumn!` _(beta)_ — `CatalogColumn` of the `CatalogCell`.
- `row`: `CatalogRow!` _(beta)_ — `CatalogRow` of the `CatalogCell`.

## Related mutations

- [`setCatalogCells`](../mutation/setCatalogCells.md)

## Reach via

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

### `catalog › cellsByPrimaryKey`

```graphql
query CatalogCellsByPrimaryKey {
  catalog(id: "…") {
    cellsByPrimaryKey(primaryKey: "…", columnIds: "…") {
      __typename
      column {
        __typename
        name
        id
        position
      }
      row {
        id
        position
        catalog {
          name
          id
          createdAt
          updatedAt
          columns {
            total
            page
            limit
            hasNextPage
            items { id }
          }
          primaryColumn { id }
        }
      }
      ... on CatalogTextCell {
        value
      }
    }
  }
}
```

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

### `catalog › searchCells`

```graphql
query CatalogSearchCells {
  catalog(id: "…") {
    searchCells(query: "…", columnIds: "…") {
      __typename
      column {
        __typename
        name
        id
        position
      }
      row {
        id
        position
        catalog {
          name
          id
          createdAt
          updatedAt
          columns {
            total
            page
            limit
            hasNextPage
            items { id }
          }
          primaryColumn { id }
        }
      }
      ... on CatalogTextCell {
        value
      }
    }
  }
}
```

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

### `account › catalogs › cellsByPrimaryKey`

```graphql
query AccountCatalogsCellsByPrimaryKey {
  account {
    catalogs(limit: 25, page: 1) {
      items {
        cellsByPrimaryKey(primaryKey: "…", columnIds: "…") {
          __typename
          column {
            __typename
            name
            id
            position
          }
          row {
            id
            position
            catalog {
              name
              id
              createdAt
              updatedAt
              columns {
                total
                page
                limit
                hasNextPage
                items { id }
              }
              primaryColumn { id }
            }
          }
          ... on CatalogTextCell {
            value
          }
        }
      }
    }
  }
}
```

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

### `account › catalogs › searchCells`

```graphql
query AccountCatalogsSearchCells {
  account {
    catalogs(limit: 25, page: 1) {
      items {
        searchCells(query: "…", columnIds: "…") {
          __typename
          column {
            __typename
            name
            id
            position
          }
          row {
            id
            position
            catalog {
              name
              id
              createdAt
              updatedAt
              columns {
                total
                page
                limit
                hasNextPage
                items { id }
              }
              primaryColumn { id }
            }
          }
          ... on CatalogTextCell {
            value
          }
        }
      }
    }
  }
}
```

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

### `catalogSelection › entries › row › cells`

```graphql
query CatalogSelectionEntriesRowCells {
  catalogSelection(id: "…") {
    entries {
      row {
        cells(columnIds: "…") {
          __typename
          column {
            __typename
            name
            id
            position
          }
          row {
            id
            position
            catalog {
              name
              id
              createdAt
              updatedAt
              columns {
                total
                page
                limit
                hasNextPage
                items { id }
              }
              primaryColumn { id }
            }
          }
          ... on CatalogTextCell {
            value
          }
        }
      }
    }
  }
}
```

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

### `brand › customMetadataProperties › type › catalog › cellsByPrimaryKey`

```graphql
query BrandCustomMetadataPropertiesTypeCatalogCellsByPrimaryKey {
  brand(id: "…") {
    customMetadataProperties {
      type {
        ... on CustomMetadataPropertyTypeCatalog {
          catalog {
            cellsByPrimaryKey(primaryKey: "…", columnIds: "…") {
              __typename
              column {
                __typename
                name
                id
                position
              }
              row {
                id
                position
                catalog {
                  name
                  id
                  createdAt
                  updatedAt
                  columns {
                    total
                    page
                    limit
                    hasNextPage
                    items { id }
                  }
                  primaryColumn { id }
                }
              }
              ... on CatalogTextCell {
                value
              }
            }
          }
        }
      }
    }
  }
}
```

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