Update Url Redirect

Update the details of an existing url redirect using its unique identifier.

🔒

Requires write_shop_navigation access scope. More access scope

The Upload Theme API allows users to upload a theme to the store using a ZIP file. This enables merchants to customize their store's appearance by applying new themes or updating existing ones.

This API is especially useful for:

  1. Uploading a new theme to customize store appearance.
  2. Updating or replacing an existing theme for a shop programmatically.

Request Parameters

Public Request Parameters

📘

Path Parameters

ParameterTypeRequiredDescriptionExample
idstringYesUnique identifier of the redirect.4540188244553

Body Parameters

ParameterTypeRequiredDescriptionExample
from_urlstringYesThe original URL to be redirected./collections/hot-selling
redirect_urlstringYesThe target URL for the redirection./collections/test1567
statusstringYesStatus of the redirect (open or close).open

Response Explanation

Public Response Parameters

📘

Error Response

FieldTypeExampleDescription
codestringInvalidParameterError http message
messagestring``Error message
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!