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

[@salesforce/b2c-tooling-sdk](../../modules.md) / [clients](../index.md) / MrtB2CClientConfig

# Interface: MrtB2CClientConfig

Defined in: [packages/b2c-tooling-sdk/src/clients/mrt-b2c.ts:88](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/clients/mrt-b2c.ts#L88)

Configuration for creating an MRT B2C client.

## Properties

### middlewareRegistry?

> `optional` **middlewareRegistry**: [`MiddlewareRegistry`](../classes/MiddlewareRegistry.md)

Defined in: [packages/b2c-tooling-sdk/src/clients/mrt-b2c.ts:100](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/clients/mrt-b2c.ts#L100)

Middleware registry to use for this client.
If not specified, uses the global middleware registry.

***

### origin?

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

Defined in: [packages/b2c-tooling-sdk/src/clients/mrt-b2c.ts:94](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/clients/mrt-b2c.ts#L94)

The origin URL for the MRT B2C API.

#### Default

```ts
"https://cloud.mobify.com/api/cc/b2c"
```

#### Example

```ts
"https://cloud.mobify.com/api/cc/b2c"
```
