GitHub

ShopifyPage

interface

import { ShopifyPage } from '@daffodil/driver/shopify'

Shopify merchants can create pages to hold static HTML content. Each Page object represents a custom page on the online store.

interface ShopifyPage {
  __typename: "Page"
  body: Scalars['HTML']['output']
  bodySummary: string
  createdAt: Scalars['DateTime']['output']
  handle: string
  id: string
  metafield: ShopifyMetafield
  metafields: ShopifyMetafield[]
  onlineStoreUrl: Maybe<Scalars['URL']['output']>
  seo: ShopifySeo
  title: string
  trackingParameters: string
  updatedAt: Scalars['DateTime']['output']
}

Properties

__typename
"Page"
body
Scalars['HTML']['output']

The description of the page, complete with HTML formatting.

bodySummary
string

Summary of the page body.

createdAt
Scalars['DateTime']['output']

The timestamp of the page creation.

handle
string

A human-friendly unique string for the page automatically generated from its title.

id
string

A globally-unique ID.

metafield
ShopifyMetafield

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
ShopifyMetafield[]

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

onlineStoreUrl
Maybe<Scalars['URL']['output']>

The URL used for viewing the resource on the shop's Online Store. Returns null if the resource is currently not published to the Online Store sales channel.

seo
ShopifySeo

The page's SEO information.

title
string

The title of the page.

trackingParameters
string

URL parameters to be added to a page URL to track the origin of on-site search traffic for analytics reporting. Returns a result when accessed through the search or predictiveSearch queries, otherwise returns null.

updatedAt
Scalars['DateTime']['output']

The timestamp of the latest page update.