---
title: "Page"
description: "自定义页面"
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'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/online-store/objects/page.md'
---
# Page

自定义页面

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

## Type Signature

`Page`

## Fields

* `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)

  更新时间

## Schema Definition

```graphql
type Page { 
	body: HTML
	bodySummary: String
	createdAt: Date
	handle: String
	id: ID!
	onlineStoreUrl: URL
	seo: SEO
	title: String
	updatedAt: Date 
}
```

## Field from

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

  节点

* [Query](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/online-store/queries/page.md).page

  自定义页面：通过page查询

* [Query](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/online-store/queries/page-by-handle.md).pageByHandle

  自定义页面，通过pageByHandle查询

* [Query](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/online-store/queries/proxy-node-page.md).proxyNodePage

  当前接口即将下线，新增接入将无法直接使用。如需申请使用权限，请通过工单系统联系平台。

## Error Handling

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

