Delete Page

🔒

Requires write_shop_navigation access scope. More access scope

The Delete Page API allows you to delete a specific page from your store. This operation is irreversible and removes all associated data of the specified page.

This API is especially useful for:

  1. Removing obsolete or unwanted pages.
  2. Managing content dynamically to keep the store's structure organized.
  3. Clearing outdated or redundant information from your store.

Request Parameters

Public Request Parameters

📘

Public Request Parameters

Path Parameters

ParameterTypeDescriptionRequiredExample
idstringThe ID of the page to delete.Yes122313

Response Explanation

Public Response Parameters

📘

Public Response Parameters

Successful Response

FieldTypeDescriptionExample
statusintegerStatus of the operation (0 for success).0

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.

FieldTypeDescriptionExample
stateintegerError state code indicating the type of error.1
msgstringDescription of the error."params err"
FieldTypeExampleDescription
errorString "store is not active"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

API Structure Overview

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