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

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

# Interface: OdsClientConfig

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

Configuration for creating an ODS client.

## Properties

### extraParams?

> `optional` **extraParams**: [`ExtraParamsConfig`](ExtraParamsConfig.md)

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

Extra parameters to add to all requests.
Useful for internal/power-user scenarios where you need to pass
parameters that aren't in the typed OpenAPI schema.

***

### host?

> `optional` **host**: `string`

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

The ODS API host.
Defaults to Unified region: admin.dx.commercecloud.salesforce.com

#### Example

```ts
"admin.dx.commercecloud.salesforce.com"
```

***

### middlewareRegistry?

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

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

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