put
https://{subdomain}.myshoplaza.com/openapi/2025-06/pages/
Update the details of an existing page using its unique identifier.
Requireswrite_themesaccess 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:
- Updating page content such as text, images, or other content.
- Modifying page metadata like title, description, or SEO settings.
Request Parameters
Public Request Parameters
Path Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
id | integer | Yes | The ID of the page to update. | 15978 |
Body Parameters
| Parameter | Type | Description | Required | Example |
|---|---|---|---|---|
page.title | string | The title of the page. | No | "Updated Page" |
page.content | string | Page content in HTML format. | No | "<p>Updated content</p>" |
page.url | string | The URL of the page. | No | "/pages/updated" |
page.meta_title | string | The SEO title of the page. | No | "Updated Meta Title" |
page.meta_keyword | string | The SEO keywords of the page. | No | "keyword1, keyword2" |
page.meta_description | string | The SEO description of the page. | No | "Updated description" |
page.independent_seo | boolean | Decide whether the SEO title is edited independently. | No | true |
Response Explanation
Public Response Parameters
Successful Response
| Field | Type | Description | Example |
|---|---|---|---|
code | string | "success" | Status code of the response |
message | string | Descriptive message of the response | |
id | string | The ID of the updated page. | 15978 |
data.title | string | The updated title of the page. | "Updated Page" |
data.content | string | The updated content of the page. | "<p>Updated content</p>" |
data.url | string | The updated URL of the page. | "/pages/updated" |
data.meta_title | string | The updated SEO title of the page. | "Updated Meta Title" |
data.meta_keyword | string | The updated SEO keywords of the page. | "keyword1, keyword2" |
data.meta_description | string | The updated SEO description of the page. | "Updated description" |
data.independent_seo | boolean | The updated SEO independence status. | true |
data.status | integer | The status of the page (1 for active). | 1 |
data.created_at | string | The creation timestamp of the page. | "1714377411" |
data.updated_at | string | The updated timestamp of the page. | "1714377899" |
Error Response
| Field | Type | Example | Description |
|---|---|---|---|
code | string | InvalidParameter | Error http message |
message | string | `` | Error message |
