Skip to Content

Page

Describes a page in the system, including SEO metadata, content, and publishing information.

Type Definition

type Page { handle: String seoDescription: String seoTitle: String seoKeywords: String url: String title: String id: Int isStatic: Boolean content: String createdAt: String updatedAt: String }

Fields

FieldTypeDescription
handleStringReturns the handle.
seoDescriptionStringReturns description for search engines.
seoTitleStringReturns title for search engines.
seoKeywordsStringReturns keywords for search engines.
urlStringReturns the URL for this product group.
titleStringReturns the title.
idIntReturns the id.
isStaticBooleanReturns true if this page was not built with the theme editor and has static content.
contentStringReturns the static page content.
createdAtStringReturns the date when this page was created.
updatedAtStringReturns the date when this page was last updated at.

Relationships

The Page type is used throughout the API to represent page content and metadata. It can be queried directly through query:page and query:pageByHandle queries, and is referenced as a field within other types such as Link.page and as the node type in PageEdge for paginated results.

Example

query { page(id: 12345) { id title handle url seoTitle seoDescription seoKeywords isStatic content createdAt updatedAt } }

Implements

This type does not implement any interfaces.

  • query:page
  • query:pageByHandle
  • object:Link
  • object:PageEdge