---
title: "CollectionEdge"
description: >
  An automatically generated type that holds a collection and a cursor during paging.
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/products/objects/collection-edge'
  md: 'https://developer.shopline.com/docs/storefront-api/products/objects/collection-edge.md'
---
# CollectionEdge

An automatically generated type that holds a collection and a cursor during paging.

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

## Type Signature

`CollectionEdge`

## Fields

* `cursor`

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

  A cursor for use in pagination.

* `node`

  [Collection!](https://developer.shopline.com/docs/storefront-api/products/objects/collection.md)

  The item at the end of CollectionEdge.

## Schema Definition

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

## Field from

* [CollectionConnection](https://developer.shopline.com/docs/storefront-api/products/objects/collection-connection.md).edges

  A list of edges.

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

