/redirects
Get active URL redirects for the current channel
Returns the channel's whole active redirect table in one call: source path, target path and the HTTP status to answer with (301 or 302). Intended to be read once and held in memory by the storefront, not called per request — the table is channel-wide and changes only when someone edits it in Fluit.
Responses
RedirectResponse[]
| Field | Type |
|---|---|
fromPath
|
string · nullable |
statusCode
|
integer |
toPath
|
string · nullable |
-
Retry-After— Seconds to wait before retrying.
Standard errors:
404
Errors
Examples
curl "https://api.erp.fluit.cloud/ecom/redirects" \
-H "X-Tenant-Id: $FLUIT_TENANT_ID" \
-H "X-Channel: web"
[
{
"fromPath": "string",
"statusCode": 42,
"toPath": "string"
}
]
Base URL https://api.erp.fluit.cloud/ecom. The response example is generated from the schema: the shape is right, the values are made up.