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

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

# Interface: UpdateProjectBackendOptions

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

Options for [updateProjectWithBackend](../functions/updateProjectWithBackend.md).

## Extends

- [`ProjectBackendOptions`](ProjectBackendOptions.md)

## Properties

### allowCookies?

> `optional` **allowCookies**: `boolean`

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

Whether cookies are allowed (SCAPI only).

***

### legacyAuth?

> `optional` **legacyAuth**: [`AuthStrategy`](../../../auth/interfaces/AuthStrategy.md)

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

Legacy API-key auth strategy. Optional; required only when the legacy backend actually runs.

#### Inherited from

[`ProjectBackendOptions`](ProjectBackendOptions.md).[`legacyAuth`](ProjectBackendOptions.md#legacyauth)

***

### name?

> `optional` **name**: `string`

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

New name (legacy only; SCAPI cannot rename a storefront).

***

### onFallback()?

> `optional` **onFallback**: (`reason`) => `void`

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

Invoked when `auto` falls back from SCAPI to legacy.

#### Parameters

##### reason

`string`

#### Returns

`void`

#### Inherited from

[`ProjectBackendOptions`](ProjectBackendOptions.md).[`onFallback`](ProjectBackendOptions.md#onfallback)

***

### onResolve()?

> `optional` **onResolve**: (`backend`) => `void`

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

Invoked with the backend that serves the call (for `-D` debug).

#### Parameters

##### backend

[`MrtBackend`](../type-aliases/MrtBackend.md)

#### Returns

`void`

#### Inherited from

[`ProjectBackendOptions`](ProjectBackendOptions.md).[`onResolve`](ProjectBackendOptions.md#onresolve)

***

### origin?

> `optional` **origin**: `string`

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

Legacy MRT API origin.

#### Inherited from

[`ProjectBackendOptions`](ProjectBackendOptions.md).[`origin`](ProjectBackendOptions.md#origin)

***

### preference

> **preference**: [`MrtBackendPreference`](../type-aliases/MrtBackendPreference.md)

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

Resolved `--mrt-backend` preference.

#### Inherited from

[`ProjectBackendOptions`](ProjectBackendOptions.md).[`preference`](ProjectBackendOptions.md#preference)

***

### preserveProxyUserAgent?

> `optional` **preserveProxyUserAgent**: `boolean`

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

Whether the end-user User-Agent is preserved through proxies (SCAPI only).

***

### projectSlug

> **projectSlug**: `string`

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

Project slug (= SCAPI storefront ID) to update.

***

### scapiConnection?

> `optional` **scapiConnection**: [`ScapiMrtConnection`](ScapiMrtConnection.md)

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

SCAPI connection; when absent, `auto` uses legacy and `scapi` throws.

#### Inherited from

[`ProjectBackendOptions`](ProjectBackendOptions.md).[`scapiConnection`](ProjectBackendOptions.md#scapiconnection)

***

### sites?

> `optional` **sites**: `string`[]

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

Complete replacement set of assigned site IDs (SCAPI only).

***

### ssrArchitecture?

> `optional` **ssrArchitecture**: `"x86"` \| `"arm64"` \| `null`

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

New default SSR architecture (SCAPI only); `null` clears the default.

***

### ssrRegion?

> `optional` **ssrRegion**: `"us-east-1"` \| `"us-east-2"` \| `"us-west-1"` \| `"us-west-2"` \| `"ap-south-1"` \| `"ap-south-2"` \| `"ap-northeast-2"` \| `"ap-southeast-1"` \| `"ap-southeast-2"` \| `"ap-southeast-3"` \| `"ap-northeast-1"` \| `"ap-northeast-3"` \| `"ca-central-1"` \| `"eu-central-1"` \| `"eu-central-2"` \| `"eu-west-1"` \| `"eu-west-2"` \| `"eu-west-3"` \| `"eu-north-1"` \| `"eu-south-1"` \| `"il-central-1"` \| `"me-central-1"` \| `"sa-east-1"`

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

New default SSR region, hyphenated legacy form (both backends).

***

### staticIpsDefault?

> `optional` **staticIpsDefault**: `boolean`

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

New default static-IP setting for new environments (legacy only).

***

### url?

> `optional` **url**: `string`

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

New URL (legacy only).
