Pages
Overview
The Pages resource allows developers to manage custom pages within the store. The resource also handles stores with multiple languages. Currently, a Page is always in a published state, meaning that it will always be visible on the store.
Since: 2025-03
Page Properties
| Field | Type | Description |
|---|---|---|
id | Integer | Unique identifier of the page. |
store_id | Integer | ID of the store this page belongs to. |
published | Boolean | Whether the page is currently published. |
created_at | String | Timestamp when the page was created (ISO 8601 format). |
updated_at | String | Timestamp when the page was last updated (ISO 8601 format). |
name | Object | Localized name of the page. Keys are language codes (e.g., "es"). |
handle | Object | Localized URL-friendly handle/slug for the page. Keys are language codes (e.g., "es"). |
content | Object | Localized HTML content of the page. Keys are language codes (e.g., "es"). |
seo_title | Object | Localized SEO title for the page. Keys are language codes (e.g., "es"). |
seo_description | Object | Localized SEO description for the page. Keys are language codes (e.g., "es"). |
Endpoints
Retrieve All Pages
GET /pages
Retrieves all custom pages from the store.
Permissions Required: read_content
Response:
{
"pages": {
"results": [
{
"id": 105034,
"store_id": 97906,
"published": true,
"created_at": "2025-02-25T19:19:06+0000",
"updated_at": "2025-02-25T19:44:06+0000",
"name": {
"es": "About Us"
},
"handle": {
"es": "about-us"
},
"content": {
"es": "<p>Our company was founded in 2020...</p>"
},
"seo_title": {
"es": "About Our Company"
},
"seo_description": {
"es": "Learn more about our company's history and mission"
}
}
],
"total": 17,
"page": 1,
"perPage": 5,
"lastPage": 4
}
}
Response Fields:
pages.results: Array of page objectspages.total: Total number of pages availablepages.page: Current page numberpages.perPage: Number of pages per pagepages.lastPage: Total number of pages