---
title: "CollectionEdge"
description: >
  A type automatically generated to hold a cursor and a collection during pagination.
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/collection-edge'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/products-and-collections/objects/collection-edge.md'
---
# CollectionEdge

A type automatically generated to hold a cursor and a collection during pagination.

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

## Type Signature

`CollectionEdge`

## Fields

* `cursor`

  [String!](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/string.md)

  Cursor used for pagination.

* `node`

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

  Node of the Collection.

## Schema Definition

```graphql
type CollectionEdge { 
	cursor: String!
	node: Collection! 
}
```

## Field from

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

  List of edge nodes.

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

