younifyd
Menu

Content Page Put

Update a Page

PUT/content/pages/{pageId}

Use it in a workflow

  1. Add a step and choose the BigCommerce Content connector.
  2. Pick the Content Page Put action (under Pages).
  3. Fill in the fields below, then reference the result from later steps as {{contentPagePut.response.data}}.

Request

Path parameters

pageIdstringrequired

The ID of the page to be operated on.

Query parameters

includestring

Include the requested property in the response. The `body` property returns the page’s markup, text, or raw content.

One ofbody

Headers

Acceptstringrequired

Default "application/json"

Content-Typestringrequired

Default "application/json"

Request body

Enter the body as JSON in the step's Body field.

namestring

The name of the page. Must be unique.

is_visibleboolean

Boolean value that specifies the visibility of the page in the storefront’s navigation menu.

parent_idinteger

ID of any parent Web page.

Default 0

sort_orderinteger

Specifies the order in which the page is displayed on the storefront. (Lower integers specify earlier display.)

Default 0

typestring

Specifies the type of the page. |Value|Description| |-|-| | `blog` | blog page. Read-only; blog pages can only be created in the store control panel. | |`contact_form`|hosts the store's contact form| |`link`|link to another absolute URL| |`page`|user-defined plain-text page| |`raw`|page that contains markup, such as HTML.| |`rss_feed`|contains syndicated content from an RSS feed|

One ofpagerawcontact_formfeedlinkblog

is_homepageboolean

Boolean value that specifies whether this page is the storefront’s home page.

is_customers_onlyboolean

Boolean value. If this value is set to `true`, this page will not be visible when the user is logged in to the store control panel.

emailstring

Applicable when the page type is `contact_form`: contact email address that receives messages sent via the form. Must be unique.

meta_titlestring
bodystring

HTML or variable that populates the elment of this page, in default/desktop view. Required in a `POST` request if the page type is `raw`.

feedstring

The URL of the RSS feed. Required in a `POST` request if the page type is `rss_feed`.

linkstring

Required in a `POST` request to create a link if the page type is `link`.

contact_fieldsstring

Applicable when the page type is `contact_form`: comma-separated list of keywords representing the fields enabled in the control panel for storefront display. Possible fields include: |Field|Description| |-|-| |`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|

meta_keywordsstring

Comma-separated list of SEO-relevant keywords to include in the element of this page.

Default ""

meta_descriptionstring

Description contained within the element of this page.

search_keywordsstring

Comma-separated list of keywords that shoppers can use to locate this page when searching the store.

urlstring

Relative URL on the storefront for this page.

channel_idinteger

The ID of the channel where this page should be shown.

Default 0

json
{
  "name": "My Store Page",
  "is_visible": false,
  "parent_id": 0,
  "sort_order": 0,
  "type": "page",
  "is_homepage": false,
  "is_customers_only": false,
  "email": "string",
  "meta_title": "string",
  "body": "<div>Hello World!</div>",
  "feed": "string",
  "link": "string"
}

Response

Returns 200 with an object. Read it in later steps with {{contentPagePut.response.data.<field>}}.

Need more? See the BigCommerce Content guide for connection setup and behaviour shared by every action.