---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../../modules.md) / [operations/mrt](../index.md) / MrtRedirectView

# Interface: MrtRedirectView

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/redirect.ts:639](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/8fc17d8708d025c83fb0c44ca73198a200605153/packages/b2c-tooling-sdk/src/operations/mrt/redirect.ts#L639)

A single redirect row, normalized across the legacy and SCAPI backends so the
CLI renders one shape regardless of backend.

The two backends identify a redirect differently: the legacy MRT Cloud API
keys a redirect by its `from_path`, while the SCAPI Environments API assigns a
UUID `redirectId` and treats the source path as an ordinary (mutable) field.
[id](#id) therefore carries the backend-appropriate identifier to pass back to
`get`/`update`/`delete` — the `from_path` on legacy, the UUID on SCAPI — while
[source](#source) always holds the human-readable source path. On legacy the two
are equal; on SCAPI they differ.

## Properties

### backend

> **backend**: [`MrtBackend`](../type-aliases/MrtBackend.md)

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/redirect.ts:659](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/8fc17d8708d025c83fb0c44ca73198a200605153/packages/b2c-tooling-sdk/src/operations/mrt/redirect.ts#L659)

Backend that produced this row.

***

### createdAt?

> `optional` **createdAt**: `string`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/redirect.ts:655](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/8fc17d8708d025c83fb0c44ca73198a200605153/packages/b2c-tooling-sdk/src/operations/mrt/redirect.ts#L655)

Creation timestamp (ISO 8601), when present.

***

### createdBy?

> `optional` **createdBy**: `string`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/redirect.ts:657](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/8fc17d8708d025c83fb0c44ca73198a200605153/packages/b2c-tooling-sdk/src/operations/mrt/redirect.ts#L657)

Email of the user who created the redirect, when present.

***

### destination

> **destination**: `string`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/redirect.ts:645](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/8fc17d8708d025c83fb0c44ca73198a200605153/packages/b2c-tooling-sdk/src/operations/mrt/redirect.ts#L645)

The destination path or URL (legacy `to_url` / SCAPI `destination`).

***

### forwardQuerystring?

> `optional` **forwardQuerystring**: `boolean`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/redirect.ts:649](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/8fc17d8708d025c83fb0c44ca73198a200605153/packages/b2c-tooling-sdk/src/operations/mrt/redirect.ts#L649)

Whether the incoming query string is forwarded to the destination.

***

### forwardWildcard?

> `optional` **forwardWildcard**: `boolean`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/redirect.ts:651](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/8fc17d8708d025c83fb0c44ca73198a200605153/packages/b2c-tooling-sdk/src/operations/mrt/redirect.ts#L651)

Whether a trailing wildcard match on the source is forwarded to the destination.

***

### httpStatusCode?

> `optional` **httpStatusCode**: `number`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/redirect.ts:647](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/8fc17d8708d025c83fb0c44ca73198a200605153/packages/b2c-tooling-sdk/src/operations/mrt/redirect.ts#L647)

HTTP status code (301 or 302), when reported.

***

### id

> **id**: `string`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/redirect.ts:641](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/8fc17d8708d025c83fb0c44ca73198a200605153/packages/b2c-tooling-sdk/src/operations/mrt/redirect.ts#L641)

Identifier for get/update/delete: the `from_path` on legacy, the UUID on SCAPI.

***

### source

> **source**: `string`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/redirect.ts:643](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/8fc17d8708d025c83fb0c44ca73198a200605153/packages/b2c-tooling-sdk/src/operations/mrt/redirect.ts#L643)

The source path that triggers the redirect (legacy `from_path` / SCAPI `source`).

***

### status?

> `optional` **status**: `string`

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/redirect.ts:653](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/8fc17d8708d025c83fb0c44ca73198a200605153/packages/b2c-tooling-sdk/src/operations/mrt/redirect.ts#L653)

Human-readable publishing status, when the backend reports one.
