---
title: StringConnection - Storefront API
description: |
  An auto-generated type for paginating through multiple Strings.
api_version: 2026-04
api_name: storefront
type: connection
api_type: graphql
source_url:
  html: 'https://shopify.dev/docs/api/storefront/latest/connections/StringConnection'
  md: >-
    https://shopify.dev/docs/api/storefront/latest/connections/StringConnection.md
---

# String​Connection

connection

An auto-generated type for paginating through multiple Strings.

## Queries with this connection

* [product​Tags](https://shopify.dev/docs/api/storefront/latest/queries/productTags)

  query

  Returns a paginated list of all tags that have been added to [products](https://shopify.dev/docs/api/storefront/2026-04/objects/Product) in the shop. Useful for building tag-based product filtering or navigation in a storefront.

  * first

    [Int!](https://shopify.dev/docs/api/storefront/latest/scalars/Int)

    required

    ### Arguments

    Returns up to the first `n` elements from the list.

  ***

* [product​Types](https://shopify.dev/docs/api/storefront/latest/queries/productTypes)

  query

  Returns a list of product types from the shop's [`Product`](https://shopify.dev/docs/api/storefront/2026-04/objects/Product) objects that are published to your app. Use this query to build [filtering interfaces](https://shopify.dev/docs/storefronts/headless/building-with-the-storefront-api/products-collections/filter-products) or navigation menus based on product categorization.

  * first

    [Int!](https://shopify.dev/docs/api/storefront/latest/scalars/Int)

    required

    ### Arguments

    Returns up to the first `n` elements from the list.

  ***

***

## Possible returns

* edges

  [\[String​Edge!\]!](https://shopify.dev/docs/api/storefront/latest/objects/StringEdge)

  non-null

  A list of edges.

* nodes

  [\[String!\]!](https://shopify.dev/docs/api/storefront/latest/scalars/String)

  non-null

  A list of the nodes contained in StringEdge.

* page​Info

  [Page​Info!](https://shopify.dev/docs/api/storefront/latest/objects/PageInfo)

  non-null

  Information to aid in pagination.

***

## Map

### Queries with this connection

* [product​Tags](https://shopify.dev/docs/api/storefront/latest/queries/productTags)
* [product​Types](https://shopify.dev/docs/api/storefront/latest/queries/productTypes)

### Possible returns

* [String​Connection.edges](https://shopify.dev/docs/api/storefront/latest/connections/StringConnection#returns-edges)
* [String​Connection.nodes](https://shopify.dev/docs/api/storefront/latest/connections/StringConnection#returns-nodes)
* [String​Connection.pageInfo](https://shopify.dev/docs/api/storefront/latest/connections/StringConnection#returns-pageInfo)
