---
title: "page"
description: "自定义页面：通过page查询"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/online-store/queries/page'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/online-store/queries/page.md'
---
# page

自定义页面：通过page查询

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

## Type Signature

`Page`

## Arguments

* `handle`

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

  通过handle查询

* `id`

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

  通过id查询

## Returns

* `body`

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

  自定义页面的内容，含HTML标记

* `bodySummary`

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

  自定义页面的内容，不含HTML标记

* `createdAt`

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

  自定义页面创建时间

* `handle`

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

  页面handle

* `id`

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

  页面id

* `onlineStoreUrl`

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

  访问该资源的店铺地址

* `seo`

  [SEO](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common-objects/objects/seo.md)

  seo信息

* `title`

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

  自定义页面标题

* `updatedAt`

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

  更新时间

## Code Example

```graphql
 {
	page(handle, id ) 
		 {
			# Page fields
		}
}
```

## Error Handling

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

