Admin Marketing: Search & SEO

Update a URL rewrite

Update a URL rewrite

put/marketing/url-rewrites/{id}

Request

Path parameters

idstring required

Marketing url rewrite ID

Request body

entity_type'product' | 'category' | 'cms_page'
request_pathstring
target_pathstring
redirect_type'301' | '302'
localestring

Example request

{
  "entity_type": "product",
  "request_path": "old-path",
  "target_path": "new-path",
  "redirect_type": "301",
  "locale": "en"
}

Response

URL rewrite updated.

Changes

No recorded changes to this operation across all 8 revisions of this API.