Page
Creates a page
post/admin/pages.json
Request
- Base URLhttps://shop-name.onshopbase.com
- AuthAPI key in header APP_ACCESS_TOKEN
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"page": {
"body_html": "Contact us at <a href=\\"mailto:contact@johns-apparel.com\\">contact@johns-apparel.com</a>",
"handle": "contact-us",
"id": 131092082,
"publish": true,
"search_engine_meta_description": "Contact us at contact@johns-apparel.com",
"search_engine_title": "Contact us",
"template": "contact_us",
"title": "Contact us"
}
}Response
OK
Example response
{
"page": {
"body_html": "Contact us at <a href=\\"mailto:contact@johns-apparel.com\\">contact@johns-apparel.com</a>",
"handle": "contact-us",
"id": 131092082,
"publish": true,
"search_engine_meta_description": "Contact us at contact@johns-apparel.com",
"search_engine_title": "Contact us",
"template": "contact_us",
"title": "Contact us"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.