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

[@salesforce/b2c-tooling-sdk](../../modules.md) / [instance](../index.md) / ScapiClientConfig

# Interface: ScapiClientConfig

Defined in: [packages/b2c-tooling-sdk/src/instance/index.ts:66](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/2feab01f654eec77c6d702777ec2818472f131f1/packages/b2c-tooling-sdk/src/instance/index.ts#L66)

SCAPI connection coordinates plus an auth strategy able to request the
`sfcc.*` scopes each Commerce API operation needs.

Returned by [B2CInstance.scapiClientConfig](../classes/B2CInstance.md#scapiclientconfig) when — and only when — the
instance carries both a shortCode and tenantId and is configured with a
stateless OAuth flow (client-credentials or JWT Bearer) that can go back to
Account Manager per request for arbitrary scopes. This is the single handle
every SCAPI client factory consumes, so SCAPI operations need nothing beyond
a [B2CInstance](../classes/B2CInstance.md).

## Properties

### auth

> **auth**: [`AuthStrategy`](../../auth/interfaces/AuthStrategy.md)

Defined in: [packages/b2c-tooling-sdk/src/instance/index.ts:69](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/2feab01f654eec77c6d702777ec2818472f131f1/packages/b2c-tooling-sdk/src/instance/index.ts#L69)

***

### shortCode

> **shortCode**: `string`

Defined in: [packages/b2c-tooling-sdk/src/instance/index.ts:67](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/2feab01f654eec77c6d702777ec2818472f131f1/packages/b2c-tooling-sdk/src/instance/index.ts#L67)

***

### tenantId

> **tenantId**: `string`

Defined in: [packages/b2c-tooling-sdk/src/instance/index.ts:68](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/2feab01f654eec77c6d702777ec2818472f131f1/packages/b2c-tooling-sdk/src/instance/index.ts#L68)
