Menu
page
Retrieves a Page by its handle or id. Pages are static content pages that merchants display outside their product catalog, such as "About Us," "Contact," or policy pages.
Use it in a workflow
- Add a step and choose the Shopify Storefront connector.
- Pick the page action (under Page).
- Fill in the fields below, then reference the result from later steps as
{{page.response.data}}.
Query
This is the query the action sends by default. Edit it in the step's Query field to change which fields come back.
query Page($handle: String, $id: ID) {
page(handle: $handle, id: $id) {
body
bodySummary
createdAt
handle
id
onlineStoreUrl
seo {
description
title
}
title
trackingParameters
updatedAt
}
}
Variables
Pass these as a JSON object in the step's Variables field.
{
"handle": "string",
"id": "string"
}
Response
Read the result with {{page.response.data.data.page}}. If the API returns errors, the step fails and they are at {{page.response.data.errors}}.
Need more? See the Shopify Storefront guide for connection setup and behaviour shared by every action.
Was this page helpful?