---
title: "CustomerConnection"
description: "客户列表，用于数据分页"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/customers/objects/customer-connection'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/customers/objects/customer-connection.md'
---
# CustomerConnection

客户列表，用于数据分页

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

## Type Signature

`CustomerConnection`

## Fields

* `edges`

  [[CustomerEdge!]](https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/customers/objects/customer-edge.md)

  edges  列表

* `nodes`

  [[Customer]](https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/customers/objects/customer.md)

  节点列表

* `pageInfo`

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

  有助于分页的信息

## Schema Definition

```graphql
type CustomerConnection { 
	edges: [CustomerEdge!]
	nodes: [Customer]
	pageInfo: PageInfo! 
}
```

## Field from

* [Query](https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/customers/queries/customers.md).customers

  客户列表

## Error Handling

关于更多通用错误码说明，参考：[状态码和错误码](https://developer.shopline.com/zh-hans-cn/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes)。

