---
title: productTypes - Storefront API
description: >
  Returns a list of product types from the shop's
  [`Product`](/docs/api/storefront/2025-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.
api_version: 2025-04
api_name: storefront
type: query
api_type: graphql
source_url:
  html: 'https://shopify.dev/docs/api/storefront/2025-04/queries/productTypes'
  md: 'https://shopify.dev/docs/api/storefront/2025-04/queries/productTypes.md'
---

# product​Types

query

Requires `unauthenticated_read_product_listings` access scope.

Returns a list of product types from the shop's [`Product`](https://shopify.dev/docs/api/storefront/2025-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.

## StringConnection arguments

[StringConnection!](https://shopify.dev/docs/api/storefront/2025-04/connections/StringConnection)

* first

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

  required

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

***

## Possible returns

* edges

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

  non-null

  A list of edges.

* nodes

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

  non-null

  A list of the nodes contained in StringEdge.

* page​Info

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

  non-null

  Information to aid in pagination.

***

## Examples

* ### productTypes reference
