younifyd
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

  1. Add a step and choose the Shopify Storefront connector.
  2. Pick the page action (under Page).
  3. 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.

graphql
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.

handlestring

The handle of the `Page`.

idstring

The ID of the `Page`.

json
{
  "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}}.

bodystring
bodySummarystring
createdAtstring
handlestring
idstring
onlineStoreUrlstring
seoobject
descriptionstring
titlestring
titlestring
trackingParametersstring
updatedAtstring

Need more? See the Shopify Storefront guide for connection setup and behaviour shared by every action.

Was this page helpful?