Page
Requires access scope or access scope.
A standalone content page in the online store. Pages display HTML-formatted content for informational pages like "About Us", contact information, or shipping policies.
Each page has a unique handle for URL routing and supports custom template suffixes for specialized layouts. Pages can be published or hidden, and include creation and update timestamps.
Anchor to FieldsFields
- Anchor to bodybody•HTML!non-null
The text content of the page, complete with HTML markup.
- Anchor to bodySummarybody•String!
Summary 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.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time (ISO 8601 format) of the page creation.
- Anchor to defaultCursordefault•String!
Cursor non-null A default cursor that returns the single next record, sorted ascending by ID.
- Anchor to eventsevents•Event
Connection! non-null The paginated list of events associated with the host subject.
- Anchor to handlehandle•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.
- Anchor to isPublishedis•Boolean!
Published non-null Whether or not the page is visible.
- Anchor to metafieldmetafield•Metafield
A custom field, including its
namespaceandkey, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to metafieldsmetafields•Metafield
Connection! non-null A list of custom fields that a merchant associates with a Shopify resource.
- Anchor to publishedAtpublished•Date
At Time The date and time (ISO 8601 format) when the page became or will become visible. Returns null when the page isn't visible.
- Anchor to templateSuffixtemplate•String
Suffix The suffix of the template that's used to render the page.
- Anchor to titletitle•String!non-null
Title of the page.
- Anchor to translationstranslations•[Translation!]!non-null
The published translations associated with the resource.
- Anchor to updatedAtupdated•Date
At Time! non-null The date and time (ISO 8601 format) of the latest page update.
- Anchor to metafieldDefinitionsmetafield•Metafield
Definitions Definition Connection! non-nullDeprecated
Anchor to QueriesQueries
- •query
Returns a
Pageresource by ID.- •query
A paginated list of pages from the online store.
Pageobjects are content pages that merchants create to provide information to customers, such as "About Us", "Contact", or policy pages.The query supports filtering with a search query and sorting by various criteria. Advanced filtering is available through saved searches using the
argument.
Anchor to MutationsMutations
- •mutation
Creates a
Pagefor the online store.Pages contain custom content like "About Us" or "Contact" information that merchants display outside their product catalog. The page requires a
titleand can include HTML content, publishing settings, and custom template suffixes. You can control visibility through theflag or schedule publication with a specific date.The mutation returns the complete page object upon successful creation or validation errors if the input is invalid.
- •mutation
Updates an existing page's content and settings.
For example, merchants can update their "Shipping Policy" page when rates change, or refresh their "About Us" page with new team information.
Use the
mutation to:- Update page content and titles
- Modify publication status
- Change page handles for URL structure
- Adjust template settings
The mutation supports partial updates, allowing specific changes while preserving other page properties.
Anchor to InterfacesInterfaces
- •interface
- •interface
- •interface
- •interface