page
A page on a store.
Properties
The author of the page.
- metafields
The metafields applied to the page.
TipTo learn about how to create metafields, refer to Create and manage metafields or visit the Shopify Help Center.
A timestamp for when the page was published.
TipUse the
date
filter to format the timestamp.The name of the custom template assigned to the page.
The name doesn't include the
page.
prefix, or the file extension (.json
or.liquid
).If a custom template isn't assigned to the page, then
nil
is returned.
Anchor to
{
"author": null,
"content": "<p>Polina's Potent Potions was started by Polina in 1654.</p>\n<p>We use all-natural locally sourced ingredients for our potions.</p>",
"handle": "about-us",
"id": 83536642113,
"metafields": {},
"published_at": "2022-05-04 17:47:03 -0400",
"template_suffix": "",
"title": "About us",
"url": {}
}
{
"author": null,
"content": "<p>Polina's Potent Potions was started by Polina in 1654.</p>\n<p>We use all-natural locally sourced ingredients for our potions.</p>",
"handle": "about-us",
"id": 83536642113,
"metafields": {},
"published_at": "2022-05-04 17:47:03 -0400",
"template_suffix": "",
"title": "About us",
"url": {}
}
Anchor to
Templates using page
Was this section helpful?