---
title: "OrderConnection"
description: "OrderConnection"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/order-connection'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/order-connection.md'
---
# OrderConnection

OrderConnection

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

## Type Signature

`OrderConnection`

## Fields

* `edges`

  [[OrderEdge!]](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/order-edge.md)

  edges 列表

* `nodes`

  [[Order!]](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/order.md)

  nodes列表信息

* `pageInfo`

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

  订单分页信息

* `totalCount`

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

  订单数量

## Schema Definition

```graphql
type OrderConnection { 
	edges: [OrderEdge!]
	nodes: [Order!]
	pageInfo: PageInfo!
	totalCount: Int! 
}
```

## Field from

* [Customer](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/customers/objects/customer.md).orders

  客户关联的订单

## Error Handling

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

