---
title: "OrderConnection"
description: "OrderConnection"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/common-objects/objects/order-connection'
  md: 'https://developer.shopline.com/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/docs/storefront-api/common-objects/objects/order-edge.md)

  A list of edges.

* `nodes`

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

  A list of the nodes contained in OrderEdge.

* `pageInfo`

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

  Information to aid in pagination.

* `totalCount`

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

  The total count of Orders.

## Schema Definition

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

## Field from

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

  The orders associated with the customer.

## 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).

