@salesforce/b2c-tooling-sdk / instance / InstanceConfig
Interface: InstanceConfig
Defined in: packages/b2c-tooling-sdk/src/instance/index.ts:86
Instance configuration (hostname, code version, etc.)
Properties
apiBackend?
optionalapiBackend:"ocapi"|"scapi"|"auto"
Defined in: packages/b2c-tooling-sdk/src/instance/index.ts:110
Backend preference for operations that support both OCAPI (legacy) and SCAPI. Defaults to 'auto' when unset. Lets the instance answer "should this operation prefer SCAPI?" without the caller re-reading config.
codeVersion?
optionalcodeVersion:string
Defined in: packages/b2c-tooling-sdk/src/instance/index.ts:90
Code version for deployments
hostname
hostname:
string
Defined in: packages/b2c-tooling-sdk/src/instance/index.ts:88
B2C instance hostname
shortCode?
optionalshortCode:string
Defined in: packages/b2c-tooling-sdk/src/instance/index.ts:99
SCAPI short code (e.g. kv7kzm78). Required, together with tenantId, to reach the Salesforce Commerce API. Populated from resolved configuration.
tenantId?
optionaltenantId:string
Defined in: packages/b2c-tooling-sdk/src/instance/index.ts:104
SCAPI tenant/organization ID (e.g. zzxy_prd). Required, together with shortCode, to reach the Salesforce Commerce API.
tlsOptions?
optionaltlsOptions:TlsOptions
Defined in: packages/b2c-tooling-sdk/src/instance/index.ts:94
TLS options for mTLS/self-signed certificate support
webdavHostname?
optionalwebdavHostname:string
Defined in: packages/b2c-tooling-sdk/src/instance/index.ts:92
Separate hostname for WebDAV (if different from main hostname)