Create Page (deprecated)
Create Page (deprecated)
Create Page (deprecated)
Creates a Page. The request payload limit is 1MB.
Required Fields
typenamelink (for a page of type: link)body (for a page of type: raw)Read Only Fields
idThe default value for content_type is text/html; however, if page_type is set to raw, content_type can be changed to text/javascript or application/json. Updating this field lets you place a JavaScript or a JSON file in the root directory.
Warning
Deprecated
- This API operation is deprecated. Avoid using this API operation if possible. It will be removed in a future version.
- To create one or more pages, use Pages V3ʼs Create pages endpoint.
HTML or variable that populates this page’s <body> element, in default/desktop view. Required in POST if page type is raw.
page: free-text page
link: link to another web address
contact_form: When the store’s contact form is used
Text specified for this page’s <title> element. If empty, the value of the name property is used.
If true, this page appears in the storefront’s navigation menu.
Order in which this page should display on the storefront. (Lower integers specify earlier display.)
Comma-separated list of SEO-relevant keywords to include in the page’s <meta/> element.
Description contained within this page’s <meta/> element.
If true, this page is the storefront’s home page.
Comma-separated list of keywords that shoppers can use to locate this page when searching the store.
If true, this page has a mobile version. (For Blueprint themes only)
HTML to use for this page’s body when viewed in the mobile template (deprecated - Blueprint themes only).
Where the page’s type is a contact form: object whose members are the fields enabled (in the control panel) for storefront display. Possible members are:fullname: full name of the customer submitting the form; phone: customer’s phone number, as submitted on the form; companyname: customer’s submitted company name; orderno: customer’s submitted order number; rma: customer’s submitted RMA (Return Merchandise Authorization) number.
Where the page’s type is a contact form, the email address that receives messages sent using the form.
If page type is link this field is returned. Required in POST to create a link page.
HTML or variable that populates this page’s <body> element, in default/desktop view. Required in POST if page type is raw.
Where the page’s type is a contact form - object whose members are the fields enabled (in the control panel) for storefront display. Possible members are:fullname - full name of the customer submitting the form; phone - customer’s phone number, as submitted on the form; companyname- customer’s submitted company name; orderno- customer’s submitted order number; rma - customer’s submitted RMA (Return Merchandise Authorization) number.
Where the page’s type is a contact form, the email address that receives messages sent using the form.
If true, this page has a mobile version. (For Blueprint themes only)
ID of the page. Read-Only.
If true, this page is the storefront’s home page.
If page type is link, this field is returned.
Description contained within this page’s <meta/> element. HTML to use for this page’s body when viewed in the mobile template.
Comma-separated list of SEO-relevant keywords to include in the page’s <meta/> element.
Text specified for this page’s <title> element. If empty, the value of the name property is used.
HTML to use for this page’s body when viewed in the mobile template (deprecated - Blueprint only).
Comma-separated list of keywords that shoppers can use to locate this page when searching the store.
Order in which this page should display on the storefront. (Lower integers specify earlier display.)
page: free-text page
link: link to another web address
contact_form: When the store’s contact form is used
For example requests and more information about authenticating BigCommerce APIs, see Authentication and Example Requests.
For more about BigCommerce OAuth scopes, see our Guide to API Accounts.
For a list of API status codes, see API Status Codes.
The MIME type of the response body.