Update Page

Update the details of an existing page using its unique identifier.

🔒

Requires write_themes access scope. More access scope

The Update Page Details API modifies the content of an existing page identified by its unique ID.

This API is especially useful for:

  1. Updating page content such as text, images, or other content.
  2. Modifying page metadata like title, description, or SEO settings.

Request Parameters

Public Request Parameters

📘

Path Parameters

ParameterTypeRequiredDescriptionExample
idintegerYesThe ID of the page to update.15978

Body Parameters

ParameterTypeDescriptionRequiredExample
page.titlestringThe title of the page.No"Updated Page"
page.contentstringPage content in HTML format.No"<p>Updated content</p>"
page.urlstringThe URL of the page.No"/pages/updated"
page.meta_titlestringThe SEO title of the page.No"Updated Meta Title"
page.meta_keywordstringThe SEO keywords of the page.No"keyword1, keyword2"
page.meta_descriptionstringThe SEO description of the page.No"Updated description"
page.independent_seobooleanDecide whether the SEO title is edited independently.Notrue

Response Explanation

Public Response Parameters

📘

Successful Response

FieldTypeDescriptionExample
codestring"success"Status code of the response
messagestringDescriptive message of the response
idstringThe ID of the updated page.15978
data.titlestringThe updated title of the page."Updated Page"
data.contentstringThe updated content of the page."<p>Updated content</p>"
data.urlstringThe updated URL of the page."/pages/updated"
data.meta_titlestringThe updated SEO title of the page."Updated Meta Title"
data.meta_keywordstringThe updated SEO keywords of the page."keyword1, keyword2"
data.meta_descriptionstringThe updated SEO description of the page."Updated description"
data.independent_seobooleanThe updated SEO independence status.true
data.statusintegerThe status of the page (1 for active).1
data.created_atstringThe creation timestamp of the page."1714377411"
data.updated_atstringThe updated timestamp of the page."1714377899"

Error Response

FieldTypeExampleDescription
codestringInvalidParameterError http message
messagestring``Error message

API Structure Overview

Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!