Update Page Content

POST

This endpoint allows you to update content on a static page in a secondary locale. It is designed specifically for localized pages and can handle up to 1000 nodes per request.

To get started, use the Get Page Content endpoint to identify content nodes and types available for the page. If you’re updating components, be sure to retrieve the component’s properties via the Get Component Properties endpoint.

In your POST request body, provide a list of nodes to be updated. For each node, include the nodeId, as well as you want to update.

  • For static content, use the text field.
  • For components, list the properties you want to update. For each component property, provide the property id and it’s associated value in the text field.
This endpoint is specifically for localized pages. Ensure that the specified locale is a valid secondary locale for the site.

Required scope | pages:write

Path parameters

page_idstringRequired

Unique identifier for a Page

Query parameters

localestringRequired

The locale identifier.

Request

This endpoint expects an object.
nodeslist of objectsRequired

List of DOM Nodes and content that will be updated in each node.

Response

Request was successful

errorslist of strings

A list of error messages, if any.

Errors