---
title: "MediaEdge"
description: "An auto-generated type which holds one Media and a cursor during pagination."
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/common-objects/objects/media-edge'
  md: 'https://developer.shopline.com/docs/storefront-api/common-objects/objects/media-edge.md'
---
# MediaEdge

An auto-generated type which holds one Media and a cursor during pagination.

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

## Type Signature

`MediaEdge`

## Fields

* `cursor`

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

  A cursor for use in pagination.

* `node`

  [Media!](https://developer.shopline.com/docs/storefront-api/common-objects/interfaces/media.md)

  The item at the end of MediaEdge.

## Schema Definition

```graphql
type MediaEdge { 
	cursor: String!
	node: Media! 
}
```

## Field from

* [MediaConnection](https://developer.shopline.com/docs/storefront-api/common-objects/objects/media-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).

