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/{pageId}: Update custom page
DELETE /api/202412/pages/{page_id}: Delete custom specified page
GET /api/202412/pages/{page_id}: Get custom page details
Page Object ​
The HTML content is stored using the Page resource. With the Page resource, you can manage the web pages in your store. It is mainly used for maintaining static content that doesn't change frequently.
Properties ​
{
"page": {
"publishTime": "2024-11-11T10:05:19Z",
"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:00Z",
"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:00Z",
"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/{pageId}
Request Params
Response Data
curl -X PUT \
https://{shop}.genmystore.com/api/202412/pages/{pageId}" \
-H "X-Genstore-Access-Token: {access_token}" \
-H "Content-Type: application/json" \
-d '{
"page":{
"publishTime":"2025-01-10T11:00:00Z",
"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:00Z",
"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>"
}
}
DELETE Delete custom specified page ​
Delete custom specified page.
Access scope
Requires ANY of the following access scopes: write_content
Endpoint
DELETE /api/202412/pages/{page_id}
Request Params
Response Data
curl -X DELETE \
https://{shop}.genmystore.com/api/202412/pages/{page_id}" \
-H "X-Genstore-Access-Token: {access_token}" \
HTTP/1.1 200 OK
{}
GET Get custom page details ​
Get custom page details.
Access scope
Requires ANY of the following access scopes: read_content
Endpoint
GET /api/202412/pages/{page_id}
Request Params
Response Data
curl -X GET \
https://{shop}.genmystore.com/api/202412/pages/{page_id}" \
-H "X-Genstore-Access-Token: {access_token}" \
HTTP/1.1 200 OK
{
"page": {
"publishTime": "2025-01-10T11:00:00Z",
"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 HTML content is stored using the Page resource. With the Page resource, you can manage the web pages in your store. It is mainly used for maintaining static content that doesn't change frequently.
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/{pageId}
DELETE Delete custom specified page
Delete custom specified page.
Access scope
Requires ANY of the following access scopes: write_content
Endpoint
DELETE /api/202412/pages/{page_id}
GET Get custom page details
Get custom page details.
Access scope
Requires ANY of the following access scopes: read_content
Endpoint
GET /api/202412/pages/{page_id}