Get Page Details

🔒

Requires read_shop_navigation access scope. More access scope

The Get Page Details API retrieves the detailed information of a specific page by its unique ID.

This API is especially useful for:

  1. Fetching the complete content and metadata of a page for editing or viewing.
  2. Debugging or auditing page details.
  3. Automating workflows that require specific page information.

Request Parameters

Public Request Parameters

📘

Public Request Parameters

Path Parameters

ParameterTypeDescriptionExampleRequired
idstringThe ID of the page.15979Yes

Response Explanation

Public Response Parameters

📘

Public Response Parameters

Successful Response

FieldTypeDescriptionExample
idintUnique ID of the page.15979
titlestringTitle of the page."Test"
contentstringHTML content of the page."<p>Welcome to my page!</p>"
statusintStatus of the page (1 for active).1
created_atstringTimestamp of when the page was created."1714377813"
updated_atstringTimestamp of the last update."1714377813"
urlstringURL of the page."/pages/test1"
meta_titlestringSEO title of the page."Test"
meta_keywordstringSEO keywords for the page.""
meta_descriptionstringSEO description of the page."Welcome to my page!"
independent_seobooleanWhether SEO is managed independently.false

Error Response

Error responses in the API can be represented using two different fields: errors and error. Both fields provide details about issues encountered during request processing. Below is an explanation of the fields with their respective examples and descriptions.

FieldTypeExampleDescription
errorsArray[ "file number error"]A list of errors encountered during the request processing.
FieldTypeExampleDescription
errorString "page not found"Indicates an error encountered during the process

Error Detail

Status CodeMessagePossible ReasonExample Response
400Bad RequestInvalid input format or request structure (e.g., missing required fields or incorrect data types).Bad Request
UnauthorizedThe request is missing valid authentication credentials or the credentials provided are invalid.Unauthorized
422Unprocessable EntityMissing the request file"id params err"
404Not Foundcan't find the page id."page not found"

API Structure Overview

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