URL Rewrite Detail
Returns a single URL rewrite with its full field set — the data behind the admin Marketing → Search & SEO → URL Rewrites view screen.
TIP
New here? Read the URL Rewrites overview for what a URL rewrite does and how its fields behave.
Operation
| Operation | Type | Purpose |
|---|---|---|
adminMarketingUrlRewrite | Query | Fetch one URL rewrite by id |
Details
- Requires an admin Bearer token in the
Authorizationheader. - Pass the rewrite's IRI (e.g.
/api/admin/marketing/url-rewrites/118) as theidargument;_idin the response is the numeric id.
Fields
| Field | Type | Notes |
|---|---|---|
id | ID | The rewrite's IRI |
_id | Int | Numeric id |
entityType | String | product, category, or cms_page |
requestPath | String | Source path the shopper requests |
targetPath | String | Destination path the request redirects to |
redirectType | String | 301 permanent / 302 temporary |
locale | String | Locale code the rewrite applies to |
createdAt | String | Creation timestamp |
updatedAt | String | Last-update timestamp |

