Create or replace a redirect
Method: POST · Auth: bearer · Group: design
/api/v1/{locale}/{websiteId}/redirects
Request
Content-Type: application/json
{ "from": "products/[slug]", "to": "catalogue/[slug]", "status"?: 301|302, "locale"?: "en-US" }Schema
{
"method": "POST",
"path": "/api/v1/{locale}/{websiteId}/redirects",
"contentType": "application/json",
"bodyHint": "{ \"from\": \"products/[slug]\", \"to\": \"catalogue/[slug]\", \"status\"?: 301|302, \"locale\"?: \"en-US\" }"
}MCP tools
- save_redirect — Save redirect