Salesforce Commerce Cloud · Authentication Profile

Salesforce Commerce Cloud Authentication

Authentication

Salesforce Commerce Cloud secures its APIs with http and oauth2 across 4 declared security schemes, as derived from its OpenAPI definitions. OAuth 2.0 is offered via the authorizationCode and clientCredentials flow(s).

CommerceE-CommerceHeadless CommerceSalesforceB2C CommerceB2B CommerceDemandware
Methods: http, oauth2 Schemes: 4 OAuth flows: authorizationCode, clientCredentials API key in:

Security Schemes

BearerToken http
scheme: bearer
ShopperToken oauth2
· flows: clientCredentials, authorizationCode
ShopperTokenTsob oauth2
· flows: clientCredentials
RegisteredShopperToken oauth2
· flows: authorizationCode

Source

Authentication Profile

Raw ↑
generated: '2026-11-25'
method: derived
source: openapi/salesforce-commerce-cloud-auth-admin-api-openapi.yml, openapi/salesforce-commerce-cloud-auth-api-openapi.yml,
  openapi/salesforce-commerce-cloud-campaigns-api-openapi.yml, openapi/salesforce-commerce-cloud-catalogs-api-openapi.yml,
  openapi/salesforce-commerce-cloud-coupons-api-openapi.yml, openapi/salesforce-commerce-cloud-customers-api-openapi.yml,
  openapi/salesforce-commerce-cloud-gift-certificates-api-openapi.yml, openapi/salesforce-commerce-cloud-orders-api-openapi.yml,
  openapi/salesforce-commerce-cloud-products-api-openapi.yml, openapi/salesforce-commerce-cloud-promotions-api-openapi.yml,
  openapi/salesforce-commerce-cloud-shopper-api-openapi.yml, openapi/salesforce-commerce-cloud-shopper-availability-api-openapi.yml
  ...
summary:
  types:
  - http
  - oauth2
  oauth2_flows:
  - authorizationCode
  - clientCredentials
schemes:
- name: BearerToken
  type: http
  scheme: bearer
  bearerFormat: JWT
  description: A security scheme that supplements SLAS Administration APIs that are secured
    with an B2c Commerce Account Manager JWT. This security scheme expects a valid B2C Commerce
    Account Manager Bearer token passed in the Authorization header to permit API access.
  sources:
  - openapi/salesforce-commerce-cloud-auth-admin-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-api-openapi.yml
- name: ShopperToken
  type: oauth2
  flows:
  - flow: clientCredentials
    tokenUrl: https://{shortCode}.api.commercecloud.salesforce.com/shopper/auth/v1/organizations/{organizationId}/oauth2/token
    scopes: 4
  - flow: authorizationCode
    authorizationUrl: https://{shortCode}.api.commercecloud.salesforce.com/shopper/auth/v1/organizations/{organizationId}/oauth2/authorize
    tokenUrl: https://{shortCode}.api.commercecloud.salesforce.com/shopper/auth/v1/organizations/{organizationId}/oauth2/token
    scopes: 4
  description: "ShopperToken authentication follows the authorization code grant flow, as defined\
    \ by the OAuth 2.1 standard. Depending on the type of OAuth client (public or private),\
    \ this authorization flow has further requirements. \nFor a detailed description of the\
    \ authorization flow, see the [SLAS overview](https://developer.salesforce.com/docs/commerce/commerce-api/references?meta=shopper-login:Summary).\n\
    A s"
  sources:
  - openapi/salesforce-commerce-cloud-auth-api-openapi.yml
  - openapi/salesforce-commerce-cloud-campaigns-api-openapi.yml
  - openapi/salesforce-commerce-cloud-catalogs-api-openapi.yml
  - openapi/salesforce-commerce-cloud-coupons-api-openapi.yml
  - openapi/salesforce-commerce-cloud-customers-api-openapi.yml
  - openapi/salesforce-commerce-cloud-gift-certificates-api-openapi.yml
  - openapi/salesforce-commerce-cloud-orders-api-openapi.yml
  - openapi/salesforce-commerce-cloud-products-api-openapi.yml
  - openapi/salesforce-commerce-cloud-promotions-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-availability-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-baskets-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-consents-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-context-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-customers-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-experience-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-orders-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-payments-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-products-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-promotions-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-search-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-seo-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-stores-api-openapi.yml
  - openapi/salesforce-commerce-cloud-zones-api-openapi.yml
- name: ShopperTokenTsob
  type: oauth2
  flows:
  - flow: clientCredentials
    tokenUrl: https://{shortCode}.api.commercecloud.salesforce.com/shopper/auth/v1/organizations/{organizationId}/oauth2/trusted-system/token
    scopes: 2
  description: "`ShopperTokenTsob` (TSOB = trusted system on behalf) is a child of the `ShopperToken`\
    \ security scheme and extends the functionality of `ShopperToken` for specific use cases.\
    \ \nA token of type `ShopperTokenTsob` allows you to access Shopper API endpoints, including\
    \ OCAPI and B2C Commerce API for headless applications. \nOther than endpoints that require\
    \ this specific subtype, you can access all other"
  sources:
  - openapi/salesforce-commerce-cloud-orders-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-availability-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-baskets-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-consents-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-context-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-customers-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-experience-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-orders-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-payments-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-products-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-promotions-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-search-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-seo-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-stores-api-openapi.yml
- name: RegisteredShopperToken
  type: oauth2
  flows:
  - flow: authorizationCode
    authorizationUrl: https://{shortCode}.api.commercecloud.salesforce.com/shopper/auth/v1/organizations/{organizationId}/oauth2/authorize
    tokenUrl: https://{shortCode}.api.commercecloud.salesforce.com/shopper/auth/v1/organizations/{organizationId}/oauth2/token
    scopes: 2
  description: |-
    `RegisteredShopperToken` is a child of the `ShopperToken` security scheme and restricts access to a **registered (authenticated) shopper**. Access is only granted to a shopper token that represents a registered shopper; a guest shopper token is rejected.
    Endpoints secured with `RegisteredShopperToken` operate on identity-bound resources of a registered shopper, such as their addresses, payment ins
  sources:
  - openapi/salesforce-commerce-cloud-shopper-baskets-api-openapi.yml
  - openapi/salesforce-commerce-cloud-shopper-customers-api-openapi.yml

Work with this as data

Every security artifact 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 security posture

4 MCP tools reach this
  • find_securityBrowse and filter every security artifact in the catalog.
  • 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 security artifact
curl "https://apis.io/api/v1/security/salesforce-commerce-cloud-authentication"
All security posture
curl "https://apis.io/api/v1/security?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.