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

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

# Function: updateProjectWithBackend()

> **updateProjectWithBackend**(`options`): `Promise`\<[`MrtProjectResult`](../interfaces/MrtProjectResult.md)\>

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

Updates a project, routing to the SCAPI or legacy backend per the given
preference (with safe `auto` fallback). The caller is responsible for
validating that supplied fields are honored by the backend that will run
(SCAPI ignores `name`/`url`; legacy ignores `sites`/architecture/cookie flags).

## Parameters

### options

[`UpdateProjectBackendOptions`](../interfaces/UpdateProjectBackendOptions.md)

## Returns

`Promise`\<[`MrtProjectResult`](../interfaces/MrtProjectResult.md)\>
