Skip to main content
object

Requires read_content access scope or read_online_store_pages access scope.

A page on the Online Store.

Anchor to Fields and connectionsFields and connections

•HTML!non-null

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

•String!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.

•DateTime!non-null

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

•String!non-null

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

•EventConnection!non-null

The paginated list of events associated with the host subject.

•String!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.

•Boolean!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.

•MetafieldConnection!non-null

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

•DateTime

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

•String

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

•String!non-null

Title of the page.

•[Translation!]!non-null

The published translations associated with the resource.

•DateTime!non-null

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

Anchor to metafieldDefinitionsmetafieldDefinitions
•MetafieldDefinitionConnection!non-nullDeprecated

Was this section helpful?

•query

Returns a Page resource by ID.

•query

List of the shop's pages.


Was this section helpful?

•mutation

Creates a page.

Arguments

•PageCreateInput!required

The properties of the new page.


Fields

•Page

The page that was created.

•[PageCreateUserError!]!non-null

The list of errors that occurred from executing the mutation.

•mutation

Updates a page.

Arguments

•ID!required

The ID of the page to be updated.

•PageUpdateInput!required

The properties of the page to be updated.


Fields

•Page

The page that was updated.

•[PageUpdateUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

OSZAR »