You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: add curated endpoint documentation to API clients
Add common endpoints table, code examples, and API reference links
to each client type alias JSDoc. Also adds a Typed Clients section
to the API landing page linking to all available clients.
@@ -181,6 +180,31 @@ When both are configured, WebDAV uses Basic auth and OCAPI uses OAuth.
181
180
182
181
## Typed Clients
183
182
183
+
The SDK provides typed clients for B2C Commerce APIs. All clients use [openapi-fetch](https://openapi-ts.dev/openapi-fetch/) for full TypeScript support with type-safe paths, parameters, and responses.
184
+
185
+
### Instance Clients
186
+
187
+
These clients are accessed via `B2CInstance` for operations on a specific B2C Commerce instance:
|[OcapiClient](./clients/type-aliases/OcapiClient.md)| Data API operations (sites, jobs, code versions) |[OCAPI Data API](https://developer.salesforce.com/docs/commerce/b2c-commerce/references/b2c-commerce-ocapi/b2c-api-doc.html)|
193
+
194
+
### Platform Service Clients
195
+
196
+
These clients are created directly for platform-wide services:
197
+
198
+
| Client | Description | API Reference |
199
+
|--------|-------------|---------------|
200
+
|[SlasClient](./clients/type-aliases/SlasClient.md)| SLAS tenant and client management |[SLAS Admin API](https://developer.salesforce.com/docs/commerce/commerce-api/references/slas-admin?meta=Summary)|
|[CdnZonesClient](./clients/type-aliases/CdnZonesClient.md)| eCDN zone and cache management |[CDN Zones API](https://developer.salesforce.com/docs/commerce/commerce-api/references/cdn-api-process-apis?meta=Summary)|
0 commit comments