Salesforce Commerce Cloud Tenants API

The Tenants API from Salesforce Commerce Cloud — 8 operation(s) for tenants.

GitHub OpenAPI

Operations 15

GET /tenants/{tenantId} Retrieve a tenant by tenant ID #
PUT /tenants/{tenantId} Create or update a tenant. #
POST /tenants/{tenantId}/batch-logout Log out multiple shoppers in a single request by revoking active refresh and… #
GET /tenants/{tenantId}/clients Retrieve/Get all tenant clients #
GET /tenants/{tenantId}/clients/{clientId} Retrieve a client #
PUT /tenants/{tenantId}/clients/{clientId} Create or update a client #
DELETE /tenants/{tenantId}/clients/{clientId} Delete a client #
GET /tenants/{tenantId}/clients/{clientId}/password-action-templates Retrieve/get a password action template #
PUT /tenants/{tenantId}/clients/{clientId}/password-action-templates Create or update a password action template #
DELETE /tenants/{tenantId}/clients/{clientId}/password-action-templates Delete a password action template #
GET /tenants/{tenantId}/idps Retrieve/Get all tenant identity providers #
GET /tenants/{tenantId}/idps/{name} Retrieve/Get a specific identity provider #
PUT /tenants/{tenantId}/idps/{name} Create or update an identity provider #
DELETE /tenants/{tenantId}/idps/{name} Delete an identity provider #
DELETE /tenants/{tenantId}/customers/{customerId} Delete all shopper records associated with a shopper's customer ID. #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/salesforce-commerce-cloud:salesforce-commerce-cloud-tenants-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

salesforce-commerce-cloud-tenants-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  x-api-type: Admin
  x-api-family: Shopper
  title: Auth Admin Tenants API
  version: 1.19.1
  description: 'Download API specification


    # API Overview


    The SLAS Admin API is a companion to the main Shopper Login and API Access Service (SLAS), which enables secure access to Commerce Cloud’s Shopper APIs. The SLAS Admin API is only used for administration tasks, not for requesting access to the Shopper APIs.


    **Important:** Before using this API, follow the instructions in Authorization for Shopper APIs from the Get Started guides. The guide provides a complete set of instructions for setting up a SLAS client.


    For more information, see the SLAS guides.


    ## Tenant Id

    In context of SLAS administration a tenant identifier is used instead of the organization identifier.


    A B2C Commerce instance is considered a “tenant” when it''s associated with a supporting system, such as the Shopper Login and API Access Service (SLAS).

    A tenant ID begins with a four-character realm ID, followed by an underscore (`_`) and an instance ID.


    These are example tenant IDs for various types of instances:


    | Instance Type | Realm ID | Instance ID | Tenant ID |

    | ----------------- | -------- | ----------- | --------- |

    | Staging | bcgl | stg | bcgl_stg |

    | On-demand sandbox | zzte | 053 | zzte_053 |

    | POD sandbox | zzrf | s01 | zzrf_s01 |


    ## Response Details


    ### Timeouts


    Admin API requests must respond within 60 seconds. If a response exceeds this threshold, an HTTP 504 status code is returned. For details, see Timeouts and Limits.


    ### Error Handling


    Error responses follow the RFC 7807 problem detail format. To trace errors, include a `correlation-id` header in your request — the response returns it as `x-correlation-id`. For details, see HTTP Status Codes and Errors.


    ## Related APIs


    - Shopper Login (SLAS) — Authenticate shoppers and obtain access tokens.'
servers:
- url: https://{shortCode}.api.commercecloud.salesforce.com/shopper/auth-admin/v1
  variables:
    shortCode:
      description: An eight-character string assigned to a realm for routing purposes. See [Base URL and Request Formation.](https://developer.salesforce.com/docs/commerce/commerce-api/guide/base-url.html)
      default: shortCode
tags:


# --- truncated at 32 KB (74 KB total) ---
# Full source: https://artifacts.apis.io/salesforce-commerce-cloud/openapi/salesforce-commerce-cloud-tenants-api-openapi.yml