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

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

# Interface: GranularReplicationsClientConfig

Defined in: [packages/b2c-tooling-sdk/src/clients/granular-replications.ts:48](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/clients/granular-replications.ts#L48)

Configuration for creating a Granular Replications API client.

## Properties

### middlewareRegistry?

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

Defined in: [packages/b2c-tooling-sdk/src/clients/granular-replications.ts:52](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/clients/granular-replications.ts#L52)

Optional custom middleware registry for request/response interceptors

***

### scopes?

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

Defined in: [packages/b2c-tooling-sdk/src/clients/granular-replications.ts:51](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/clients/granular-replications.ts#L51)

Optional custom OAuth scopes. Defaults to sfcc.granular-replications.rw and tenant-specific scope

***

### shortCode

> **shortCode**: `string`

Defined in: [packages/b2c-tooling-sdk/src/clients/granular-replications.ts:49](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/clients/granular-replications.ts#L49)

The instance short code (e.g., 'kv7kzm78')

***

### tenantId

> **tenantId**: `string`

Defined in: [packages/b2c-tooling-sdk/src/clients/granular-replications.ts:50](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/clients/granular-replications.ts#L50)

The tenant ID (e.g., 'zzxy_prd')
