> ## Documentation Index
> Fetch the complete documentation index at: https://redo-44af351d-docs-v3-graphql-api-reference.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# productFamilies

> List product families.

**Required scopes:**
[`products_read`](/docs/api-reference/v3/reference/scopes#scope-products_read)

## Arguments

<ResponseField name="after" type="String">
  Forward pagination cursor — returns items after it. Pass an `edges[].cursor` or
  `pageInfo.endCursor` from a previous page.
</ResponseField>

<ResponseField name="before" type="String">
  Backward pagination cursor — returns items before it. Pass an `edges[].cursor`
  or `pageInfo.startCursor` from a previous page.
</ResponseField>

<ResponseField name="first" type="Int">
  Forward pagination: returns the first N items (max 100, default 25). Use with
  `after`; mutually exclusive with `last`/`before`.
</ResponseField>

<ResponseField name="last" type="Int">
  Backward pagination: returns the last N items (max 100, default 25). Use with
  `before`; mutually exclusive with `first`/`after`.
</ResponseField>

<ResponseField name="orderBy" type={<a href="/docs/api-reference/v3/reference/catalog/product-family-sort-key">ProductFamilySortKey</a>}>
  Which key to sort by (defaults to the first key, newest-first). Combine with
  `reverse` to flip direction.
</ResponseField>

<ResponseField name="reverse" type="Boolean">
  Reverses the sort direction selected by `orderBy` (or its default).
</ResponseField>

## Returns

<ResponseField name="productFamilies" type={<a href="/docs/api-reference/v3/pagination">ProductFamilyConnection!</a>} required>
  A paginated list of ProductFamily items.

  <Expandable title="fields" lazyRender>
    <ResponseField name="edges" type={<a href="/docs/api-reference/v3/pagination">[ProductFamilyEdge!]!</a>} required>
      The list of edges (each a node plus its pagination `cursor`).

      <Expandable title="fields" lazyRender>
        <ResponseField name="cursor" type="String!" required>
          Opaque cursor for this item; pass to `after`/`before` to page from here.
        </ResponseField>

        <ResponseField name="node" type={<a href="/docs/api-reference/v3/reference/catalog/product-family">ProductFamily!</a>} required>
          The item at this edge.

          <Expandable title="fields" lazyRender>
            <ResponseField name="attribute" type={<a href="/docs/api-reference/v3/reference/catalog/attribute">Attribute</a>}>
              Look up a single attribute on this family by its name, if set.

              **Requires:** [`products_read`](/docs/api-reference/v3/reference/scopes#scope-products_read)

              <Expandable title="fields" lazyRender>
                **Arguments**

                <ResponseField name="name" type="String!" required>
                  The machine name of the attribute to look up.
                </ResponseField>
              </Expandable>
            </ResponseField>

            <ResponseField name="attributes" type={<a href="/docs/api-reference/v3/reference/catalog/attribute">[Attribute!]!</a>} required>
              The merchant-defined attributes set on this family.
            </ResponseField>

            <ResponseField name="createdAt" type={<a href="/docs/api-reference/v3/reference/common/date-time">DateTime!</a>} required>
              When the record was created.
            </ResponseField>

            <ResponseField name="description" type="String!" required>
              The product family's long-form description.
            </ResponseField>

            <ResponseField name="id" type="ID!" required>
              The id of this product family.
            </ResponseField>

            <ResponseField name="image" type={<a href="/docs/api-reference/v3/reference/catalog/product-family-image">ProductFamilyImage</a>}>
              The first (default) image for this family, if any.

              **Requires:** [`products_read`](/docs/api-reference/v3/reference/scopes#scope-products_read)
            </ResponseField>

            <ResponseField name="images" type={<a href="/docs/api-reference/v3/pagination">ProductFamilyImageConnection!</a>} required>
              A paginated list of the family's images.

              **Requires:** [`products_read`](/docs/api-reference/v3/reference/scopes#scope-products_read)

              <Expandable title="fields" lazyRender>
                **Arguments**

                <ResponseField name="after" type="String">
                  Forward pagination cursor — returns items after it. Pass an `edges[].cursor` or `pageInfo.endCursor` from a previous page.
                </ResponseField>

                <ResponseField name="before" type="String">
                  Backward pagination cursor — returns items before it. Pass an `edges[].cursor` or `pageInfo.startCursor` from a previous page.
                </ResponseField>

                <ResponseField name="first" type="Int">
                  Forward pagination: returns the first N items (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.
                </ResponseField>

                <ResponseField name="last" type="Int">
                  Backward pagination: returns the last N items (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.
                </ResponseField>
              </Expandable>
            </ResponseField>

            <ResponseField name="options" type={<a href="/docs/api-reference/v3/reference/catalog/product-family-option">[ProductFamilyOption!]!</a>} required>
              The variant options (e.g. Size, Color) for this family.
            </ResponseField>

            <ResponseField name="products" type={<a href="/docs/api-reference/v3/pagination">ProductConnection!</a>} required>
              A paginated list of the products (variants) in this family.

              **Requires:** [`products_read`](/docs/api-reference/v3/reference/scopes#scope-products_read)

              <Expandable title="fields" lazyRender>
                **Arguments**

                <ResponseField name="after" type="String">
                  Forward pagination cursor — returns items after it. Pass an `edges[].cursor` or `pageInfo.endCursor` from a previous page.
                </ResponseField>

                <ResponseField name="before" type="String">
                  Backward pagination cursor — returns items before it. Pass an `edges[].cursor` or `pageInfo.startCursor` from a previous page.
                </ResponseField>

                <ResponseField name="first" type="Int">
                  Forward pagination: returns the first N items (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.
                </ResponseField>

                <ResponseField name="last" type="Int">
                  Backward pagination: returns the last N items (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.
                </ResponseField>
              </Expandable>
            </ResponseField>

            <ResponseField name="tags" type="[String!]!" required>
              Free-form tags applied to the product family.
            </ResponseField>

            <ResponseField name="title" type="String!" required>
              The product family's title.
            </ResponseField>

            <ResponseField name="updatedAt" type={<a href="/docs/api-reference/v3/reference/common/date-time">DateTime!</a>} required>
              When the record was last updated.
            </ResponseField>

            <ResponseField name="vendor" type="String">
              The vendor or manufacturer of the product family.
            </ResponseField>
          </Expandable>
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="nodes" type={<a href="/docs/api-reference/v3/reference/catalog/product-family">[ProductFamily!]!</a>} required>
      The nodes in this page, without the edge/cursor wrapper — a convenience over `edges`.

      <Expandable title="fields" lazyRender>
        <ResponseField name="attribute" type={<a href="/docs/api-reference/v3/reference/catalog/attribute">Attribute</a>}>
          Look up a single attribute on this family by its name, if set.

          **Requires:** [`products_read`](/docs/api-reference/v3/reference/scopes#scope-products_read)

          <Expandable title="fields" lazyRender>
            **Arguments**

            <ResponseField name="name" type="String!" required>
              The machine name of the attribute to look up.
            </ResponseField>

            **Fields**

            <ResponseField name="description" type="String">
              An optional description of what the attribute represents.
            </ResponseField>

            <ResponseField name="displayName" type="String!" required>
              The human-readable label shown for the attribute.
            </ResponseField>

            <ResponseField name="id" type="ID!" required>
              The unique identifier of the attribute's definition.
            </ResponseField>

            <ResponseField name="name" type="String!" required>
              The attribute's machine name, unique within the account.
            </ResponseField>

            <ResponseField name="type" type={<a href="/docs/api-reference/v3/reference/catalog/attribute-type">AttributeType!</a>} required>
              The data type of the attribute's value.
            </ResponseField>

            <ResponseField name="value" type={<a href="/docs/api-reference/v3/reference/common/json">JSON</a>}>
              The attribute's value, resolved to the typed JSON form for its `type` — read `type` to know the shape. E.g. SHORT\_TEXT → a string, WEIGHT → \{ value, unit }, MONEY → \{ amount, currency }. Null if unset. See AttributeType for each type's shape.
            </ResponseField>
          </Expandable>
        </ResponseField>

        <ResponseField name="attributes" type={<a href="/docs/api-reference/v3/reference/catalog/attribute">[Attribute!]!</a>} required>
          The merchant-defined attributes set on this family.

          <Expandable title="fields" lazyRender>
            <ResponseField name="description" type="String">
              An optional description of what the attribute represents.
            </ResponseField>

            <ResponseField name="displayName" type="String!" required>
              The human-readable label shown for the attribute.
            </ResponseField>

            <ResponseField name="id" type="ID!" required>
              The unique identifier of the attribute's definition.
            </ResponseField>

            <ResponseField name="name" type="String!" required>
              The attribute's machine name, unique within the account.
            </ResponseField>

            <ResponseField name="type" type={<a href="/docs/api-reference/v3/reference/catalog/attribute-type">AttributeType!</a>} required>
              The data type of the attribute's value.
            </ResponseField>

            <ResponseField name="value" type={<a href="/docs/api-reference/v3/reference/common/json">JSON</a>}>
              The attribute's value, resolved to the typed JSON form for its `type` — read `type` to know the shape. E.g. SHORT\_TEXT → a string, WEIGHT → \{ value, unit }, MONEY → \{ amount, currency }. Null if unset. See AttributeType for each type's shape.
            </ResponseField>
          </Expandable>
        </ResponseField>

        <ResponseField name="createdAt" type={<a href="/docs/api-reference/v3/reference/common/date-time">DateTime!</a>} required>
          When the record was created.
        </ResponseField>

        <ResponseField name="description" type="String!" required>
          The product family's long-form description.
        </ResponseField>

        <ResponseField name="id" type="ID!" required>
          The id of this product family.
        </ResponseField>

        <ResponseField name="image" type={<a href="/docs/api-reference/v3/reference/catalog/product-family-image">ProductFamilyImage</a>}>
          The first (default) image for this family, if any.

          **Requires:** [`products_read`](/docs/api-reference/v3/reference/scopes#scope-products_read)

          <Expandable title="fields" lazyRender>
            <ResponseField name="altText" type="String!" required>
              Alternative text describing the image.
            </ResponseField>

            <ResponseField name="default" type="Boolean!" required>
              Whether this is the default image.
            </ResponseField>

            <ResponseField name="id" type="ID!" required>
              The id of this image.
            </ResponseField>

            <ResponseField name="position" type="Int!" required>
              The image's ordering position.
            </ResponseField>

            <ResponseField name="url" type="String!" required>
              The public URL of the image.
            </ResponseField>
          </Expandable>
        </ResponseField>

        <ResponseField name="images" type={<a href="/docs/api-reference/v3/pagination">ProductFamilyImageConnection!</a>} required>
          A paginated list of the family's images.

          **Requires:** [`products_read`](/docs/api-reference/v3/reference/scopes#scope-products_read)

          <Expandable title="fields" lazyRender>
            **Arguments**

            <ResponseField name="after" type="String">
              Forward pagination cursor — returns items after it. Pass an `edges[].cursor` or `pageInfo.endCursor` from a previous page.
            </ResponseField>

            <ResponseField name="before" type="String">
              Backward pagination cursor — returns items before it. Pass an `edges[].cursor` or `pageInfo.startCursor` from a previous page.
            </ResponseField>

            <ResponseField name="first" type="Int">
              Forward pagination: returns the first N items (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.
            </ResponseField>

            <ResponseField name="last" type="Int">
              Backward pagination: returns the last N items (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.
            </ResponseField>

            **Fields**

            <ResponseField name="edges" type={<a href="/docs/api-reference/v3/pagination">[ProductFamilyImageEdge!]!</a>} required>
              The list of edges (each a node plus its pagination `cursor`).
            </ResponseField>

            <ResponseField name="nodes" type={<a href="/docs/api-reference/v3/reference/catalog/product-family-image">[ProductFamilyImage!]!</a>} required>
              The nodes in this page, without the edge/cursor wrapper — a convenience over `edges`.
            </ResponseField>

            <ResponseField name="pageInfo" type={<a href="/docs/api-reference/v3/pagination">PageInfo!</a>} required>
              Pagination metadata for the current page.
            </ResponseField>
          </Expandable>
        </ResponseField>

        <ResponseField name="options" type={<a href="/docs/api-reference/v3/reference/catalog/product-family-option">[ProductFamilyOption!]!</a>} required>
          The variant options (e.g. Size, Color) for this family.

          <Expandable title="fields" lazyRender>
            <ResponseField name="id" type="ID!" required>
              The id of this option.
            </ResponseField>

            <ResponseField name="name" type="String!" required>
              The option's name (e.g. Size).
            </ResponseField>

            <ResponseField name="position" type="Int!" required>
              The option's ordering position within the family.
            </ResponseField>

            <ResponseField name="values" type="[String!]!" required>
              The allowed values for this option (e.g. S, M, L).
            </ResponseField>
          </Expandable>
        </ResponseField>

        <ResponseField name="products" type={<a href="/docs/api-reference/v3/pagination">ProductConnection!</a>} required>
          A paginated list of the products (variants) in this family.

          **Requires:** [`products_read`](/docs/api-reference/v3/reference/scopes#scope-products_read)

          <Expandable title="fields" lazyRender>
            **Arguments**

            <ResponseField name="after" type="String">
              Forward pagination cursor — returns items after it. Pass an `edges[].cursor` or `pageInfo.endCursor` from a previous page.
            </ResponseField>

            <ResponseField name="before" type="String">
              Backward pagination cursor — returns items before it. Pass an `edges[].cursor` or `pageInfo.startCursor` from a previous page.
            </ResponseField>

            <ResponseField name="first" type="Int">
              Forward pagination: returns the first N items (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.
            </ResponseField>

            <ResponseField name="last" type="Int">
              Backward pagination: returns the last N items (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.
            </ResponseField>

            **Fields**

            <ResponseField name="edges" type={<a href="/docs/api-reference/v3/pagination">[ProductEdge!]!</a>} required>
              The list of edges (each a node plus its pagination `cursor`).
            </ResponseField>

            <ResponseField name="nodes" type={<a href="/docs/api-reference/v3/reference/catalog/product">[Product!]!</a>} required>
              The nodes in this page, without the edge/cursor wrapper — a convenience over `edges`.
            </ResponseField>

            <ResponseField name="pageInfo" type={<a href="/docs/api-reference/v3/pagination">PageInfo!</a>} required>
              Pagination metadata for the current page.
            </ResponseField>
          </Expandable>
        </ResponseField>

        <ResponseField name="tags" type="[String!]!" required>
          Free-form tags applied to the product family.
        </ResponseField>

        <ResponseField name="title" type="String!" required>
          The product family's title.
        </ResponseField>

        <ResponseField name="updatedAt" type={<a href="/docs/api-reference/v3/reference/common/date-time">DateTime!</a>} required>
          When the record was last updated.
        </ResponseField>

        <ResponseField name="vendor" type="String">
          The vendor or manufacturer of the product family.
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="pageInfo" type={<a href="/docs/api-reference/v3/pagination">PageInfo!</a>} required>
      Pagination metadata for the current page.

      <Expandable title="fields" lazyRender>
        <ResponseField name="endCursor" type="String">
          Cursor of the last edge in this page; pass to `after` to page forward.
        </ResponseField>

        <ResponseField name="hasNextPage" type="Boolean!" required>
          Whether more items exist after this page (drives forward pagination with `first`/`after`).
        </ResponseField>

        <ResponseField name="hasPreviousPage" type="Boolean!" required>
          Whether more items exist before this page (drives backward pagination with `last`/`before`).
        </ResponseField>

        <ResponseField name="startCursor" type="String">
          Cursor of the first edge in this page; pass to `before` to page backward.
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

## Example

```graphql theme={null}
query {
  productFamilies(
    after: "..."
    before: "..."
    first: 10
    last: 10
    orderBy: CREATED_AT
    reverse: true
  ) {
    nodes {
      createdAt
      description
      id
      tags
      title
      updatedAt
      vendor
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
```
