Backend API
The pages model contains data relating to pages within your storefront and the content within them.
We recommend not making changes via the API for the pages model when possible and suggest using the dashboard model editor instead. If you do wish to make changes via the API, see our data model customization guide.
Fields
id
objectIdUnique identifier for the page.
name
stringrequiredHuman-friendly name of the page.
slug
stringrequiredLowercase, hyphenated identifier typically used in URLs. When creating a product, a slug will be generated automatically from the name. Maximum length of 1,000 characters.
content
stringHTML formatted page content.
date_created
dateDate and time the page was created.
date_published
dateDate and time the page was published.
date_updated
dateDate and time the page was updated.
meta_description
stringPage description used for search engine optimization purposes.
published
booleanIndicates whether the page is published. Defaults to false.
redirect
stringURL to specify a page redirect.
The pages model
{
"id": "5f5efea5703b7a10d8000007",
"name": "About Us",
"slug": "about-us",
"content": "Welcome to <strong>Strongbad's Awesome Store</strong>. We make awesome things for awesome people.",
"date_updated": "2021-09-16T01:05:27.003Z",
"date_published": "2020-09-28T09:08:23.005Z",
"date_created": "2020-09-28T09:07:17.091Z",
"meta_description": null,
"redirect": null,
"published": true,
}