Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

query

Returns a Page resource by ID.

ID!required

The ID of the Page to return.


Was this section helpful?

A page on the Online Store.

body
non-null

The text content of the page, complete with HTML markup.

bodySummary
non-null

The first 150 characters of the page body. If the page body contains more than 150 characters, additional characters are truncated by ellipses.

createdAt
non-null

The date and time (ISO 8601 format) of the page creation.

defaultCursor
non-null

A default cursor that returns the single next record, sorted ascending by ID.

events
non-null

The paginated list of events associated with the host subject.

handle
non-null

A unique, human-friendly string for the page. In themes, the Liquid templating language refers to a page by its handle.

id
non-null

A globally-unique ID.

isPublished
non-null

Whether or not the page is visible.

metafield

A custom field, including its namespace and key, that's associated with a Shopify resource for the purposes of adding and storing additional information.

metafields
non-null

A list of custom fields that a merchant associates with a Shopify resource.

publishedAt

The date and time (ISO 8601 format) when the page became or will become visible. Returns null when the page isn't visible.

templateSuffix

The suffix of the template that's used to render the page.

title
non-null

Title of the page.

translations
non-null

The published translations associated with the resource.

updatedAt
non-null

The date and time (ISO 8601 format) of the latest page update.

metafieldDefinitions
non-nullDeprecated

List of metafield definitions. This field will be removed in a future version. Use the root metafieldDefinitions field instead.


Was this section helpful?