Authorization Scopes Catalog

Scopes control which B2C Commerce endpoints a token can access and define the permissions and operations a token can perform, so that only authorized operations are allowed.

Scopes use the format sfcc.{family}[.rw]. The optional .rw suffix indicates read and write permissions.

To assign scopes to tokens and configure them based on your storefront needs:

  1. Understand the capabilities of your storefront and what shoppers can do.
  2. Determine the API families with which your storefront needs to interact and the specific actions needed: Shopper APIs, SCAPI Admin APIs, and SLAS Admin APIs.
  3. Identify the required scopes using the following tables.
    • For security reasons, limit scopes to the minimum you need.
    • Optimize the size of your JSON Web Token (JWT). Scopes make up a large portion of the SLAS JWT, and in many cases, this SLAS token is stored as a cookie and is passed back-and-forth in both requests and responses.
    • To reduce JWT size, use the sfcc.shopper-standard scope. For more information, see Standard Shopper Scope.

      For each selected scope, configure the specific permissions to avoid redundancy. If you include the .rw version for a scope, avoid using the read-only counterpart, as it's redundant and can make the token unnecessarily bulky.

    • Include only scopes for the applicable API family. For example, don't include SCAPI Admin API scopes in a SLAS JWT.
  4. Configure your token with the correct scopes:
  5. Save the token configuration. To test it, make API calls. A successful call returns a 200 response. A 401 or 403 response indicates a missing or incorrect scope.

By default, the following SLAS scopes are assigned:

These scopes are only useful inside a SLAS JWT.

To configure tokens for use with the Shopper APIs, see Authorization for Shopper APIs.

ScopeAPI FamilyAPI NamePurpose
sfcc.shopper-agents.rwShopperShopper AgentsInitialize Shopper Agent session.
sfcc.shopper-baskets-ordersCheckoutShopper BasketsRead baskets and orders from a shopper perspective.
sfcc.shopper-baskets-orders.rwCheckoutShopper BasketsCreate, read, update, and delete an order, including shipping and tax information.
sfcc.shopper-categoriesProductShopper ProductsRead categories to be displayed on a storefront for shoppers.
sfcc.shopper-configurationsConfigurationShopper ConfigurationsRetrieve global and site-specific configuration details.
sfcc.shopper-consentsShopperShopper ConsentsRead Shopper Consents.
sfcc.shopper-consents.rwShopperShopper ConsentsCreate, read, update, and delete Shopper Consents.
sfcc.shopper-contextShopperShopper ContextRead Shopper Context.
sfcc.shopper-context.rwShopperShopper ContextCreate, read, update, and delete Shopper Context.
sfcc.shopper-custom-objectsCustom ObjectShopper Custom ObjectsRead all custom object information.
sfcc.shopper-custom-objects.{object-type}Custom ObjectShopper Custom ObjectsRead custom object information. Access can be restricted at the {object-type} level. This extends the standard objects provided by B2C Commerce.
sfcc.shopper-customers.loginCustomerShopper CustomersLog in a shopper.
sfcc.shopper-customers.registerCustomerShopper CustomersRegister a shopper.
sfcc.shopper-experienceExperienceShopper ExperienceRead access for assets created in Page Designer.
sfcc.shopper-experience.contentsExperienceShopper ExperienceRead content assets available on a storefront.
sfcc.shopper-experience.foldersExperienceShopper ExperienceRead content folders used to organize storefront content assets.
sfcc.shopper-experience.pagesExperienceShopper ExperienceRead pages created in Page Designer.
sfcc.shopper-experience.qualifiersExperienceShopper ExperienceResolve qualifiers for customer groups, campaign promotions, and data binding contexts.
sfcc.shopper-gift-certificatesPricingShopper Gift CertificatesRead gift certificates from a shopper perspective.
sfcc.shopper-myaccountCustomerShopper CustomersRead all data in a shopper account.
sfcc.shopper-myaccount.addressesCustomerShopper CustomersRead shopper addresses.
sfcc.shopper-myaccount.addresses.rwCustomerShopper CustomersCreate, read, update, and delete addresses in a shopper account.
sfcc.shopper-myaccount.basketsCustomerShopper CustomersRead a shopper’s baskets.
sfcc.shopper-myaccount.ordersCustomerShopper CustomersRead a shopper’s orders.
sfcc.shopper-myaccount.paymentinstrumentsCustomerShopper CustomersRead a shopper’s payment instruments.
sfcc.shopper-myaccount.paymentinstruments.rwCustomerShopper CustomersCreate, read, update, and delete payment instruments in a shopper account.
sfcc.shopper-myaccount.productlistsCustomerShopper CustomersRead wishlists associated with a shopper account.
sfcc.shopper-myaccount.productlists.rwCustomerShopper CustomersCreate, read, update, and delete wishlists associated with a shopper account.
sfcc.shopper-myaccount.rwCustomerShopper CustomersCreate, read, update, and delete all data in a shopper account.
sfcc.shopper-product-searchSearchShopper SearchSearch for products and product suggestions.
sfcc.shopper-productlistsCustomerShopper CustomersRead public product lists or wishlists.
sfcc.shopper-productsProductShopper ProductsRead products merchandised and available to be sold on a particular site.
sfcc.shopper-promotionsPricingShopper PromotionsRead promotions from a shopper perspective.
sfcc.shopper-seoSiteShopper SEORead SEO-related information.
sfcc.shopper-storesStoreShopper StoresSearch for and read details on stores.

These scopes are only useful inside an Account Manager JWT.

To configure tokens for use with the SCAPI Admin APIs, see Authorization for Admin APIs.

ScopeAPI FamilyAPI NamePurpose
sfcc.catalogsProductCatalogsRead catalog information.
sfcc.catalogs.rwProductCatalogsCreate, read, update, and delete catalogs.
sfcc.cdn-zonesCDN ZonesCDN ZonesRead information related to CDN Zones.
sfcc.cdn-zones.rwCDN ZonesCDN ZonesCreate, read, update, and delete information related to CDN Zones.
sfcc.consentsCustomerConsentsRead customer consent preferences.
sfcc.consents.rwCustomerConsentsCreate, read, update, and delete customer consent preferences.
sfcc.cors-preferencesConfigurationCORS PreferencesRead Cross-Origin Resource Sharing (CORS) preferences.
sfcc.cors-preferences.rwConfigurationCORS PreferencesCreate, read, update, and delete Cross-Origin Resource Sharing (CORS) preferences.
sfcc.custom-apisDXCustom APIsRead resolved Custom API endpoints and their registration status (active/not_registered), including error reasons for failed registrations.
sfcc.custom-apis.rwDXCustom APIsRead endpoints and perform admin-level management actions for Custom APIs (read/write when available).
sfcc.customergroupsCustomerCustomer GroupsRead customer groups.
sfcc.customergroups.rwCustomerCustomer GroupsCreate, read, update, and delete customer groups.
sfcc.customerlistsCustomerCustomersRead customer list associated with a site.
sfcc.customerlists.rwCustomerCustomersCreate, read, update, and delete customer lists associated with a site.
sfcc.experiencesExperienceExperiencesRead merchandiser experiences.
sfcc.experiences.rwExperienceExperiencesCreate, read, update, and delete merchandiser experiences.
sfcc.gift-certificatesPricingGift CertificatesRead gift certificates.
sfcc.gift-certificates.rwPricingGift CertificatesCreate, read, update, and delete gift certificates.
sfcc.granular-replicationsAdministrationReplicationsRead replication information.
sfcc.granular-replications.rwAdministrationReplicationsCreate, read, update, and delete replications.
sfcc.inventory-listsInventoryInventory ListsRead inventory lists.
sfcc.inventory-lists.rwInventoryInventory ListsCreate, read, update, and delete inventory lists.
sfcc.inventory.availabilityInventoryInventory AvailabilityRead availability. Account Manager Authentication.
sfcc.inventory.availability.rwInventoryInventory AvailabilityCreate, read, update, and delete availability. Account Manager Authentication.
sfcc.inventory.impex-graphsInventoryInventory ImpexRead location graph exports. Account Manager Authentication.
sfcc.inventory.impex-inventoryInventoryInventory ImpexRead inventory exports. Account Manager Authentication.
sfcc.inventory.impex-inventory.rwInventoryInventory ImpexRead inventory imports. Account Manager Authentication.
sfcc.inventory.reservationsInventoryInventory ReservationRead reservation information. Account Manager Authentication.
sfcc.inventory.reservations.rwInventoryInventory ReservationCreate, read, update, and delete reservations. Account Manager Authentication.
sfcc.jobsAdministrationJobsRead job information.
sfcc.jobs.rwAdministrationJobsCreate, read, update, and delete jobs.
sfcc.object-definitionsConfigurationObject DefinitionsRead object definitions.
sfcc.object-definitions.rwConfigurationObject DefinitionsCreate, read, update, and delete object definitions.
sfcc.ordersCheckoutOrdersRead orders from a management perspective.
sfcc.orders.rwCheckoutOrdersCreate, read, update, and delete an existing order, for example, with a status update.
sfcc.preferencesConfigurationPreferencesRead site and environment-specific settings.
sfcc.price-booksPricingPrice BooksRead price books.
sfcc.price-books.rwPricingPrice BooksCreate, read, update, and delete price books.
sfcc.productsProductProductsRead products assigned to a catalog.
sfcc.products.rwProductProductsCreate, read, update, and delete products from a catalog.
sfcc.promotionsPricingPromotionsRead campaigns, coupons, promotions, and assignments.
sfcc.promotions.rwPricingPromotionsCreate, read, update, and delete campaigns, coupons, promotions, and assignments.
sfcc.rolesAdministrationRolesRead roles.
sfcc.roles.rwAdministrationRolesCreate, read, update, and delete roles.
sfcc.scapi-schemasDXSCAPI SchemasRead SCAPI schema registry.
sfcc.scriptsDXScriptsRead scripts.
sfcc.scripts.rwDXScriptsCreate, read, update, and delete scripts.
sfcc.seoSiteSEORead SEO configurations.
sfcc.seo.rwSiteSEOCreate, read, update, and delete SEO configurations.
sfcc.sitesConfigurationSitesRead site information.
sfcc.sites.rwConfigurationSitesCreate, read, update, and delete site information.
sfcc.source-codesPricingSource Code GroupsRead source codes.
sfcc.source-codes.rwPricingSource Code GroupsCreate, read, update, and delete source codes.
sfcc.store-redirect-mappingsSiteStore Redirect MappingsRead store redirect mappings.
sfcc.store-redirect-mappings.rwSiteStore Redirect MappingsCreate, read, update, and delete store redirect mappings.
sfcc.storesStoreStoresRead store information.
sfcc.timeoutsConfigurationTimeoutsRead timeout configuration.
sfcc.timeouts.rwConfigurationTimeoutsCreate, read, update, and delete timeout configuration.
sfcc.usersAdministrationUsersRead user information.
sfcc.users.rwAdministrationUsersCreate, read, update, and delete users.
ScopeAPI FamilyAPI NamePurpose
sfcc.pwdless_loginShopperShopper LoginAllow users with a B2C Commerce profile to request a token by email that can be used to log in without a password even when their identity provider (Salesforce) is unavailable.
sfcc.session_bridgeShopperShopper LoginAllow session bridging.
sfcc.ta_ext_on_behalf_ofShopperShopper LoginCall trusted agent endpoints.
sfcc.ts_ext_on_behalf_ofShopperShopper LoginCall trusted system endpoints.
sfcc.shopper-mcpagentShopperShopper LoginAllow access to the B2C Commerce Model Context Protocol (MCP) Shopper Service from an AI Agent, for example, Claude or ChatGPT.

Here's an example set of scopes required for a shopping application (such as a PWA Kit storefront):