About Page ​
Access scope
Multiple access scopes needed — refer to each endpoint for access scope requirements.
Create pages within the store to hold static content, such as an "About Us" page, a "Contact Us" page, and so on.
Endpoints
POST
/api/202412/pages: Create custom page
PUT
/api/202412/pages/{page_id}: Update custom page
Page Object ​
The Page resource stores HTML content and is mainly used to manage web pages in your store. It is suitable for static content that changes infrequently.
Properties ​
{
"page": {
"publishTime": "2024-11-11T10:05:19.421Z",
"visible": "true",
"templateName": "contact",
"seoDescription": "Learn more about Brand – our values, mission, and the team behind the scenes.",
"handle": "about-us",
"title": "About Us - Our Story and Mission",
"seoTitle": "About Us | Brand Name",
"content": "<h1>Welcome to Our Company</h1><p>We are dedicated to providing the best service.</p>"
}
}
POST
Create custom page ​
Create custom pages.
Access scope
Requires ANY of the following access scopes: write_content
Endpoint
POST
/api/202412/pages
Request Params
Response Data
curl -X POST \
https://{shop}.genmystore.com/api/202412/pages" \
-H "X-Genstore-Access-Token: {access_token}" \
-H "Content-Type: application/json" \
-d '{
"page":{
"coverByHandle":"true",
"publishTime":"2025-01-10T11:00:00-05:00",
"visible":"true",
"templateName":"custom",
"seoDescription":"This is a custom page demo",
"handle":"demo",
"title":"Custom page demo",
"seoTitle":"Custom page title",
"content":"<div class=\"rfq_form_page\"><div class=\"loader\"></div></div>"
}
}'
HTTP/1.1 200 OK
{
"page": {
"publishTime": "2025-01-10T11:00:00-05:00",
"visible": "true",
"templateName": "custom",
"seoDescription": "This is a custom page demo",
"handle": "demo",
"id": "1",
"title": "Custom page demo",
"seoTitle": "Custom page title",
"content": "<div class=\"rfq_form_page\"><div class=\"loader\"></div></div>"
}
}
PUT
Update custom page ​
Update custom pages.
Access scope
Requires ANY of the following access scopes: write_content
Endpoint
PUT
/api/202412/pages/{page_id}
Request Params
Response Data
curl -X PUT \
https://{shop}.genmystore.com/api/202412/pages/{page_id}" \
-H "X-Genstore-Access-Token: {access_token}" \
-H "Content-Type: application/json" \
-d '{
"page":{
"publishTime":"2025-01-10T11:00:00-05:00",
"visible":"true",
"templateName":"custom",
"seoDescription":"This is a custom page demo.",
"handle":"demo",
"title":"Custom page demo",
"seoTitle":"Custom page title",
"content":"<div class=\"rfq_form_page\"><div class=\"loader\"></div></div>"
}
}'
HTTP/1.1 200 OK
{
"page": {
"publishTime": "2025-01-10T11:00:00-05:00",
"visible": "true",
"templateName": "custom",
"seoDescription": "This is a custom page demo.",
"handle": "demo",
"id": "1",
"title": "Custom page demo",
"seoTitle": "Custom page title",
"content": "<div class=\"rfq_form_page\"><div class=\"loader\"></div></div>"
}
}
About Page
Access scope
Multiple access scopes needed — refer to each endpoint for access scope requirements.
Create pages within the store to hold static content, such as an "About Us" page, a "Contact Us" page, and so on.
Page Object
The Page resource stores HTML content and is mainly used to manage web pages in your store. It is suitable for static content that changes infrequently.
Properties
POST
Create custom page
Create custom pages.
Access scope
Requires ANY of the following access scopes: write_content
Endpoint
POST
/api/202412/pages
PUT
Update custom page
Update custom pages.
Access scope
Requires ANY of the following access scopes: write_content
Endpoint
PUT
/api/202412/pages/{page_id}