---
title: "productTypes"
description: "List of product types for the shop's products that are published to your app."
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/common-objects/queries/product-types'
  md: 'https://developer.shopline.com/docs/storefront-api/common-objects/queries/product-types.md'
---
# productTypes

List of product types for the shop's products that are published to your app.


- **API Version:** v20270301
- **API Type:** Storefront
- **API Protocol:** GraphQL
- **Operation Type:** Query

## Type Signature

`StringConnection`

## Arguments

* `first`

  [Int!](https://developer.shopline.com/docs/storefront-api/common/scalars/int.md)

  Returns the first n elements in the list. 

## Returns

* `edges`

  [[StringEdge!]](https://developer.shopline.com/docs/storefront-api/common-objects/objects/string-edge.md)

  String Edge

* `pageInfo`

  [PageInfo!](https://developer.shopline.com/docs/storefront-api/online-store/objects/page-info.md)

  Page Info

## Code Example

```graphql
 {
	productTypes(first ) 
		 {
			# StringConnection fields
		}
}
```

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/storefront-api/overview.md#status-and-error-codes).

