---
title: "ProductConnection"
description: "Auto-generated type used for pagination of multiple Products."
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/objects/product-connection'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/objects/product-connection.md'
---
# ProductConnection

Auto-generated type used for pagination of multiple Products.

- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Type Signature

`ProductConnection`

## Fields

* `edges`

  [[ProductEdge!]](https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/objects/product-edge.md)

  List of edge nodes.

* `nodes`

  [[Product!]](https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/objects/product.md)

  List of nodes contained within a ProductEdge.

* `pageInfo`

  [PageInfo!](https://developer.shopline.com/docs/admin-graph-ql-api/common-objects/objects/page-info.md)

  Pagination Assistance Information.

## Schema Definition

```graphql
type ProductConnection { 
	edges: [ProductEdge!]
	nodes: [Product!]
	pageInfo: PageInfo! 
}
```

## Field from

* [Query](https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/queries/products.md).products

  返回商品列表

* [Collection](https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/objects/collection.md).products

  The list of products in the current collection.

## Error Handling

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

