Developer Preview — This project is in active development. APIs may change. Provide feedback
Skip to content

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

Interface: ScapiSchemasClientConfig

Defined in: packages/b2c-tooling-sdk/src/clients/scapi-schemas.ts:100

Configuration for creating a SCAPI Schemas client.

Properties

middlewareRegistry?

optional middlewareRegistry: MiddlewareRegistry

Defined in: packages/b2c-tooling-sdk/src/clients/scapi-schemas.ts:125

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


scopes?

optional scopes: string[]

Defined in: packages/b2c-tooling-sdk/src/clients/scapi-schemas.ts:119

Optional scope override. If not provided, defaults to domain scope (sfcc.scapi-schemas) plus tenant-specific scope (SALESFORCE_COMMERCE_API:{tenant}).


shortCode

shortCode: string

Defined in: packages/b2c-tooling-sdk/src/clients/scapi-schemas.ts:106

The short code for the SCAPI instance. This is typically a 4-8 character alphanumeric code.

Example

ts
"kv7kzm78"

tenantId

tenantId: string

Defined in: packages/b2c-tooling-sdk/src/clients/scapi-schemas.ts:113

The tenant ID (with or without f_ecom_ prefix). Used to build the organizationId path parameter and tenant-specific OAuth scope.

Example

ts
"zzxy_prd" or "f_ecom_zzxy_prd"

Released under the Apache-2.0 License.