Delete Redirect

🔒

Requires write_shop_navigation access scope. More access scope

The Delete Redirect API allows you to remove an existing redirect from your shop by providing its unique ID.

This API is especially useful for:

  1. Removing outdated or invalid redirects.
  2. Cleaning up unused or deprecated redirect entries.
  3. Maintaining a streamlined list of active redirects.

Request Parameters

Public Request Parameters

📘

Public Request Parameters

ParameterTypeRequiredDescriptionExample
idstringYesUnique identifier of the redirect.4540188244553

Response Explanation

Public Response Parameters

📘

Public Response Parameters

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 "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
404Not FoundThe redirect's id is not found"record not found"

API Structure Overview

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