--- title: StringConnection - Storefront API description: | An auto-generated type for paginating through multiple Strings. api_version: unstable api_name: storefront source_url: html: https://shopify.dev/docs/api/storefront/unstable/connections/StringConnection md: https://shopify.dev/docs/api/storefront/unstable/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/unstable/queries/productTags) query Returns a paginated list of all tags that have been added to [products](https://shopify.dev/docs/api/storefront/unstable/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/unstable/scalars/Int) required ### Arguments Returns up to the first `n` elements from the list. *** * [product​Types](https://shopify.dev/docs/api/storefront/unstable/queries/productTypes) query Returns a list of product types from the shop's [`Product`](https://shopify.dev/docs/api/storefront/unstable/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/unstable/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/unstable/objects/StringEdge) non-null A list of edges. * nodes [\[String!\]!](https://shopify.dev/docs/api/storefront/unstable/scalars/String) non-null A list of the nodes contained in StringEdge. * page​Info [Page​Info!](https://shopify.dev/docs/api/storefront/unstable/objects/PageInfo) non-null Information to aid in pagination. *** ## Map ### Queries with this connection * [product​Tags](https://shopify.dev/docs/api/storefront/unstable/queries/productTags) * [product​Types](https://shopify.dev/docs/api/storefront/unstable/queries/productTypes) ### Possible returns * [String​Connection.edges](https://shopify.dev/docs/api/storefront/unstable/connections/StringConnection#returns-edges) * [String​Connection.nodes](https://shopify.dev/docs/api/storefront/unstable/connections/StringConnection#returns-nodes) * [String​Connection.pageInfo](https://shopify.dev/docs/api/storefront/unstable/connections/StringConnection#returns-pageInfo)