post
https://{subdomain}.myshoplaza.com/openapi/2025-06/redirects/detail
Requireswrite_shop_navigationaccess 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:
- Removing outdated or invalid redirects.
- Cleaning up unused or deprecated redirect entries.
- Maintaining a streamlined list of active redirects.
Request Parameters
Public Request Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
id | string | Yes | Unique identifier of the redirect. | 4540188244553 |
Response Explanation
Public Response Parameters
Successful Response
| Field | Type | Example | Description |
|---|---|---|---|
code | string | Success | Response status |
data | string | Response message | |
data.count | int32 | 0 | The total number of redirects in the store. |
data.redirects | array[UrlRedirect] | The list of URL redirects. | |
data.redirects.id | string | 373043233132924740 | Unique identifier for the redirect. |
data.redirects.store_id | integer | 633130 | ID of the store where the redirect is created. |
data.redirects.status | string | open | Status of the redirect. |
data.redirects.from_url | string | /collections/hot-selling | The original URL specified for redirection. |
data.redirects.redirect_url | string | /collections/test1567 | The target URL specified for the redirection. |
Error Response
| Field | Type | Example | Description |
|---|---|---|---|
code | string | InvalidParameter | Error http message |
message | string | `` | Error message |
