Admin Marketing: Search & SEO
Create a URL rewrite
Create a URL rewrite
post/marketing/url-rewrites
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"entity_type": "product",
"request_path": "old-path",
"target_path": "new-path",
"redirect_type": "301",
"locale": "en"
}Response
URL rewrite created.
Changes
No recorded changes to this operation across all 8 revisions of this API.