Admin Marketing: Search & SEO
Update a URL rewrite
Update a URL rewrite
put/marketing/url-rewrites/{id}
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Marketing url rewrite ID
Request body
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.