Skip to content

@salesforce/b2c-tooling-sdk / clients / OdsClientConfig

Interface: OdsClientConfig ​

Defined in: packages/b2c-tooling-sdk/src/clients/ods.ts:91

Configuration for creating an ODS client.

Properties ​

extraParams? ​

optional extraParams: ExtraParamsConfig

Defined in: packages/b2c-tooling-sdk/src/clients/ods.ts:105

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

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

Example ​

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

middlewareRegistry? ​

optional middlewareRegistry: MiddlewareRegistry

Defined in: packages/b2c-tooling-sdk/src/clients/ods.ts:111

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

Released under the Apache-2.0 License.