---
title: "PageInfo"
description: "Page Info"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/online-store/objects/page-info'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/online-store/objects/page-info.md'
---
# PageInfo

Page Info

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

## Type Signature

`PageInfo`

## Fields

* `endCursor`

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

  当前页最后一个游标

* `hasNextPage`

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

  是否有下一页

* `hasPreviousPage`

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

  是否有上一页

* `startCursor`

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

  当前页首个游标

## Schema Definition

```graphql
type PageInfo { 
	endCursor: String
	hasNextPage: Boolean
	hasPreviousPage: Boolean
	startCursor: String 
}
```

## Field from

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

  分页信息

* [CommentConnection](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/comment-connection.md).pageInfo

  分页信息

* [ImageConnection](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/image-connection.md).pageInfo

  帮助分页的信息

* [AddressConnection](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/address-connection.md).pageInfo

  客户地址分页信息

* [UrlRedirectConnection](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/online-store/objects/url-redirect-connection.md).pageInfo

  分页信息

* [SearchResultItemConnection](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/products/objects/search-result-item-connection.md).pageInfo

  帮助分页的信息

* [OrderConnection](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/order-connection.md).pageInfo

  订单分页信息

* [HistoryOfPointsConnection](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/member-system/objects/history-of-points-connection.md).pageInfo

  有助于分页的信息

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

  帮助分页的信息

* [ArticleConnection](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/online-store/objects/article-connection.md).pageInfo

  分页信息

* [PageConnection](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/online-store/objects/page-connection.md).pageInfo

  分页信息

* [MediaConnection](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/media-connection.md).pageInfo

  帮助分页的信息

* [GiftCardHistoryConnection](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/member-system/objects/gift-card-history-connection.md).pageInfo

  有助于分页的信息

* [StringConnection](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/string-connection.md).pageInfo

  分页信息

* [CustomerRewardsInfoConnection](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/member-system/objects/customer-rewards-info-connection.md).pageInfo

  有助于分页的信息

* [StoreCreditHistoryConnection](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/member-system/objects/store-credit-history-connection.md).pageInfo

  有助于分页的信息

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

  分页信息

* [BlogConnection](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/online-store/objects/blog-connection.md).pageInfo

  分页信息

## Error Handling

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

