---
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:90](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/36eea0d308f1312d1a446ec8813ed30b0bdba62c/packages/b2c-tooling-sdk/src/clients/mrt-b2c.ts#L90)

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:102](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/36eea0d308f1312d1a446ec8813ed30b0bdba62c/packages/b2c-tooling-sdk/src/clients/mrt-b2c.ts#L102)

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:96](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/36eea0d308f1312d1a446ec8813ed30b0bdba62c/packages/b2c-tooling-sdk/src/clients/mrt-b2c.ts#L96)

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"
```
