---
title: "ProductVariantEdge"
description: "一种自动生成的类型，在分页期间保存一个 ProductVariant 和一个游标"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/objects/product-variant-edge'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/objects/product-variant-edge.md'
---
# ProductVariantEdge

一种自动生成的类型，在分页期间保存一个 ProductVariant 和一个游标

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

## Type Signature

`ProductVariantEdge`

## Fields

* `cursor`

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

  用于分页的游标

* `node`

  [ProductVariant!](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/objects/product-variant.md)

  ProductVariantEdge 末尾的项目

## Schema Definition

```graphql
type ProductVariantEdge { 
	cursor: String!
	node: ProductVariant! 
}
```

## Field from

* [ProductVariantConnection](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/objects/product-variant-connection.md).edges

  一个带有变体节点的列表

## Error Handling

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

