Salesforce Commerce Cloud website screenshot

Salesforce Commerce Cloud

Salesforce Commerce Cloud (formerly Demandware) is an enterprise commerce platform supporting B2C and B2B storefronts, order management, product content, and headless commerce experiences. Commerce Cloud exposes two REST API products: the legacy Open Commerce API (OCAPI) and the modern Salesforce Commerce API (SCAPI), a unified RAML-defined API family built for headless commerce. SCAPI uses OAuth 2.0 via Salesforce Account Manager and groups APIs into Shopper, Data, and Admin tiers.

2 APIs 0 Features
CommerceE-CommerceHeadless CommerceSalesforceB2C CommerceB2B CommerceDemandware

APIs

Salesforce Commerce API (SCAPI)

Modern REST API family for B2C Commerce Cloud built on a unified RAML specification, organized into Shopper, Data, and Admin APIs for headless commerce. Authentication uses OAut...

Open Commerce API (OCAPI)

Legacy REST API for B2C Commerce Cloud, organized into Shop API, Data API, and Meta API. Authentication uses OAuth 2.0 via Salesforce Account Manager. OCAPI is deprecated for ne...

Agent Skills showing 24 of 60

b2c-am

AGENT SKILL

b2c-bm-users-roles

AGENT SKILL

b2c-cap

AGENT SKILL

b2c-cip

AGENT SKILL

b2c-code

AGENT SKILL

b2c-config

AGENT SKILL

b2c-content

AGENT SKILL

b2c-controllers

AGENT SKILL

b2c-custom-caches

AGENT SKILL

b2c-custom-job-steps

AGENT SKILL

b2c-custom-objects

AGENT SKILL

b2c-debug

AGENT SKILL

b2c-docs

AGENT SKILL

b2c-ecdn

AGENT SKILL

b2c-forms

AGENT SKILL

b2c-hooks

AGENT SKILL

b2c-isml

AGENT SKILL

b2c-job

AGENT SKILL

b2c-localization

AGENT SKILL

b2c-logging

AGENT SKILL

b2c-logs

AGENT SKILL

Collections

GraphQL

Salesforce Commerce Cloud GraphQL Schema

This is a conceptual GraphQL schema for Salesforce Commerce Cloud (SFCC), derived from the

GRAPHQL

Resources

🔗
LinkedIn
LinkedIn
🔗
Website
Website
🔗
Documentation
Documentation
🔗
API Documentation
API Documentation
🔗
API Explorer
API Explorer
🔗
PostmanCollection
PostmanCollection
💰
Pricing
Pricing
📝
Signup
Signup
🔗
Trailhead
Trailhead
👥
GitHubOrganization
GitHubOrganization
💬
Support
Support
🔗
AgentSkills
AgentSkills

Sources

apis.yml Raw ↑
opencollection: 1.0.0
info:
  name: Salesforce Commerce API (SCAPI) - Shopper Subset
  version: v1
request:
  auth:
    type: bearer
    token: '{{bearerToken}}'
items:
- info:
    name: Get an SLAS access token
    type: http
  http:
    method: POST
    url: https://{shortCode}.api.commercecloud.salesforce.com/shopper/auth/v1/organizations/:organizationId/oauth2/token
    params:
    - name: organizationId
      value: ''
      type: path
    body:
      type: form-urlencoded
      data:
      - name: grant_type
        value: ''
      - name: code
        value: ''
      - name: code_verifier
        value: ''
      - name: client_id
        value: ''
      - name: refresh_token
        value: ''
      - name: channel_id
        value: ''
      - name: usid
        value: ''
  docs: 'Shopper Login and API Access Service (SLAS) OAuth 2.0 token endpoint.

    Supports guest and authenticated shopper flows.

    '
- info:
    name: Get products
    type: http
  http:
    method: GET
    url: https://{shortCode}.api.commercecloud.salesforce.com/shopper/products/v1/organizations/:organizationId/products
    params:
    - name: organizationId
      value: ''
      type: path
      description: B2C Commerce Cloud organization ID (e.g. f_ecom_zzte_053).
    - name: ids
      value: ''
      type: query
      description: Comma-separated list of product IDs (up to 24).
    - name: siteId
      value: ''
      type: query
    - name: inventoryIds
      value: ''
      type: query
    - name: currency
      value: ''
      type: query
    - name: locale
      value: ''
      type: query
    - name: allImages
      value: ''
      type: query
    - name: perPricebook
      value: ''
      type: query
  docs: Returns hydrated product information for one or more products.
- info:
    name: Get a product
    type: http
  http:
    method: GET
    url: https://{shortCode}.api.commercecloud.salesforce.com/shopper/products/v1/organizations/:organizationId/products/:id
    params:
    - name: organizationId
      value: ''
      type: path
      description: B2C Commerce Cloud organization ID (e.g. f_ecom_zzte_053).
    - name: id
      value: ''
      type: path
    - name: siteId
      value: ''
      type: query
  docs: Get a product
- info:
    name: Product search
    type: http
  http:
    method: GET
    url: https://{shortCode}.api.commercecloud.salesforce.com/shopper/search/v1/organizations/:organizationId/product-search
    params:
    - name: organizationId
      value: ''
      type: path
      description: B2C Commerce Cloud organization ID (e.g. f_ecom_zzte_053).
    - name: siteId
      value: ''
      type: query
    - name: q
      value: ''
      type: query
    - name: refine
      value: ''
      type: query
    - name: sort
      value: ''
      type: query
    - name: currency
      value: ''
      type: query
    - name: locale
      value: ''
      type: query
    - name: offset
      value: ''
      type: query
    - name: limit
      value: ''
      type: query
  docs: Product search
- info:
    name: Create a basket
    type: http
  http:
    method: POST
    url: https://{shortCode}.api.commercecloud.salesforce.com/shopper/baskets/v1/organizations/:organizationId/baskets
    params:
    - name: organizationId
      value: ''
      type: path
      description: B2C Commerce Cloud organization ID (e.g. f_ecom_zzte_053).
    - name: siteId
      value: ''
      type: query
    body:
      type: json
      data: '{}'
  docs: Create a basket
- info:
    name: Get a basket
    type: http
  http:
    method: GET
    url: https://{shortCode}.api.commercecloud.salesforce.com/shopper/baskets/v1/organizations/:organizationId/baskets/:basketId
    params:
    - name: organizationId
      value: ''
      type: path
      description: B2C Commerce Cloud organization ID (e.g. f_ecom_zzte_053).
    - name: basketId
      value: ''
      type: path
    - name: siteId
      value: ''
      type: query
  docs: Get a basket
- info:
    name: Delete a basket
    type: http
  http:
    method: DELETE
    url: https://{shortCode}.api.commercecloud.salesforce.com/shopper/baskets/v1/organizations/:organizationId/baskets/:basketId
    params:
    - name: organizationId
      value: ''
      type: path
      description: B2C Commerce Cloud organization ID (e.g. f_ecom_zzte_053).
    - name: basketId
      value: ''
      type: path
    - name: siteId
      value: ''
      type: query
  docs: Delete a basket
- info:
    name: Add items to a basket
    type: http
  http:
    method: POST
    url: https://{shortCode}.api.commercecloud.salesforce.com/shopper/baskets/v1/organizations/:organizationId/baskets/:basketId/items
    params:
    - name: organizationId
      value: ''
      type: path
      description: B2C Commerce Cloud organization ID (e.g. f_ecom_zzte_053).
    - name: basketId
      value: ''
      type: path
    - name: siteId
      value: ''
      type: query
    body:
      type: json
      data: '{}'
  docs: Add items to a basket
- info:
    name: Create an order from a basket
    type: http
  http:
    method: POST
    url: https://{shortCode}.api.commercecloud.salesforce.com/shopper/orders/v1/organizations/:organizationId/orders
    params:
    - name: organizationId
      value: ''
      type: path
      description: B2C Commerce Cloud organization ID (e.g. f_ecom_zzte_053).
    - name: siteId
      value: ''
      type: query
    body:
      type: json
      data: '{}'
  docs: Create an order from a basket
- info:
    name: Get an order
    type: http
  http:
    method: GET
    url: https://{shortCode}.api.commercecloud.salesforce.com/shopper/orders/v1/organizations/:organizationId/orders/:orderNo
    params:
    - name: organizationId
      value: ''
      type: path
      description: B2C Commerce Cloud organization ID (e.g. f_ecom_zzte_053).
    - name: orderNo
      value: ''
      type: path
    - name: siteId
      value: ''
      type: query
  docs: Get an order
bundled: true