Standard Shopper Scope

Grant a client access to a default collection of B2C Commerce endpoints by assigning the preconfigured sfcc.shopper-standard scope. This scope aggregates a commonly required set of over 15 scopes. By reducing the number of scopes assigned to the client, using the sfcc.shopper-standard scope significantly reduces the size of the JSON Web Token (JWT) issued by SLAS.

Configure scopes for a SLAS client by using either the SLAS Admin UI or the SLAS Admin API. To use the SLAS Admin UI, see SLAS Admin UI: Create a SLAS Client. To use the SLAS Admin API, see Advanced: SLAS Admin API.

Before you assign the sfcc.shopper-standard scope, review this table to understand which scopes are included in the aggregated set. The set of included scopes can’t be modified. If you assign sfcc.shopper-standard, the client has access to each scope and its endpoints.

ScopeEndpoints
sfcc.shopper-baskets-orders.rwPOST /baskets (createBasket)
POST /baskets/actions/transfer (transferBasket)
POST /baskets/actions/merge (mergeBasket)
GET /baskets/{basketId} (getBasket)
DELETE /baskets/{basketId} (deleteBasket)
PATCH /baskets/{basketId} (updateBasket)
POST /baskets/{basketId}/actions/promote (promoteTemporaryBasket)
PUT /baskets/{basketId}/agent (updateAsAgentBasket)
PUT /baskets/{basketId}/billing-address (updateBillingAddressForBasket)
POST /baskets/{basketId}/coupons (addCouponToBasket)
DELETE /baskets/{basketId}/coupons/{couponItemId} (removeCouponFromBasket)
PUT /baskets/{basketId}/customer (updateCustomerForBasket)
POST /baskets/{basketId}/gift-certificate-items (addGiftCertificateItemToBasket)
DELETE /baskets/{basketId}/gift-certificate-items/{giftCertificateItemId} (removeGiftCertificateItemFromBasket)
PATCH /baskets/{basketId}/gift-certificate-items/{giftCertificateItemId} (updateGiftCertificateItemInBasket)
POST /baskets/{basketId}/items (addItemToBasket)
PATCH /baskets/{basketId}/items (updateItemsInBasket)
DELETE /baskets/{basketId}/items/{itemId} (removeItemFromBasket)
PATCH /baskets/{basketId}/items/{itemId} (updateItemInBasket)
PUT /baskets/{basketId}/items/{itemId}/taxes (addTaxesForBasketItem)
POST /baskets/{basketId}/payment-instruments (addPaymentInstrumentToBasket)
DELETE /baskets/{basketId}/payment-instruments/{paymentInstrumentId} (removePaymentInstrumentFromBasket)
PATCH /baskets/{basketId}/payment-instruments/{paymentInstrumentId} (updatePaymentInstrumentInBasket)
GET /baskets/{basketId}/payment-methods (getPaymentMethodsForBasket)
POST /baskets/{basketId}/price-adjustments (addPriceAdjustmentToBasket)
DELETE /baskets/{basketId}/price-adjustments/{priceAdjustmentId} (removePriceAdjustmentFromBasket)
PATCH /baskets/{basketId}/price-adjustments/{priceAdjustmentId} (updatePriceAdjustmentInBasket)
GET /baskets/{basketId}/price-books (getPriceBooksForBasket)
PUT /baskets/{basketId}/price-books (addPriceBooksToBasket)
POST /baskets/{basketId}/shipments (createShipmentForBasket)
DELETE /baskets/{basketId}/shipments/{shipmentId} (removeShipmentFromBasket)
PATCH /baskets/{basketId}/shipments/{shipmentId} (updateShipmentForBasket)
PUT /baskets/{basketId}/shipments/{shipmentId}/shipping-address (updateShippingAddressForShipment)
PUT /baskets/{basketId}/shipments/{shipmentId}/shipping-method (updateShippingMethodForShipment)
GET /baskets/{basketId}/shipments/{shipmentId}/shipping-methods (getShippingMethodsForShipment)
PUT /baskets/{basketId}/storefront (updateAsStorefrontBasket)
GET /baskets/{basketId}/taxes (getTaxesFromBasket)
PUT /baskets/{basketId}/taxes (addTaxesForBasket)
POST /orders (createOrder)
GET /orders/oms-meta-data (getOmsMetaData)
GET /orders/{orderNo} (getOrder)
POST /orders/{orderNo}/lookup (guestOrderLookup)
POST /orders/{orderNo}/actions/fail (failOrder)
POST /orders/{orderNo}/actions/oms-cancel-order (cancelOmsOrder)
POST /orders/{orderNo}/actions/oms-return-order (returnOmsOrder)
POST /orders/{orderNo}/payment-instruments (createPaymentInstrumentForOrder)
DELETE /orders/{orderNo}/payment-instruments/{paymentInstrumentId} (removePaymentInstrumentFromOrder)
PATCH /orders/{orderNo}/payment-instruments/{paymentInstrumentId} (updatePaymentInstrumentForOrder)
GET /orders/{orderNo}/payment-methods (getPaymentMethodsForOrder)
GET /orders/{orderNo}/taxes (getTaxesFromOrder)
GET /payment-configuration (getPaymentConfiguration)
POST /payment-instruments/balance (getPaymentInstrumentBalance)
sfcc.shopper-categoriesGET /categories (getCategories)
GET /categories/{id} (getCategory)
sfcc.shopper-customers.loginPOST /customers/password/actions/reset (resetPassword)
POST /customers/password/actions/create-reset-token (getResetPasswordToken)
GET /customers/external-profile (getExternalProfile)
PUT /customers/{customerId}/password (updateCustomerPassword)
sfcc.shopper-customers.registerPOST /customers (registerCustomer)
POST /customers/external-profile (registerExternalProfile)
sfcc.shopper-gift-certificatesPOST /gift-certificate (getGiftCertificate)
sfcc.shopper-myaccount.addresses.rwGET /customers/{customerId}/addresses/{addressName} (getCustomerAddress)
POST /customers/{customerId}/addresses (createCustomerAddress)
DELETE /customers/{customerId}/addresses/{addressName} (removeCustomerAddress)
PATCH /customers/{customerId}/addresses/{addressName} (updateCustomerAddress)
sfcc.shopper-myaccount.basketsGET /customers/{customerId}/baskets (getCustomerBaskets)
sfcc.shopper-myaccount.ordersGET /customers/{customerId}/orders (getCustomerOrders)
sfcc.shopper-myaccount.paymentinstruments.rwPOST /customers/{customerId}/payment-instruments (createCustomerPaymentInstrument)
GET /customers/{customerId}/payment-instruments/{paymentInstrumentId} (getCustomerPaymentInstrument)
DELETE /customers/{customerId}/payment-instruments/{paymentInstrumentId} (deleteCustomerPaymentInstrument)
PATCH /customers/{customerId}/payment-instruments/{paymentInstrumentId} (updateCustomerPaymentInstrument)
DELETE /customers/{customerId}/payment-method-references/{paymentMethodReferenceId} (deleteCustomerPaymentMethodReference)
POST /customers/{customerId}/payment-method-references/actions/setup (setupCustomerPaymentMethodReference)
sfcc.shopper-myaccount.productlists.rwGET /customers/{customerId}/product-lists (getCustomerProductLists)
POST /customers/{customerId}/product-lists (createCustomerProductList)
GET /customers/{customerId}/product-lists/{listId} (getCustomerProductList)
DELETE /customers/{customerId}/product-lists/{listId} (deleteCustomerProductList)
PATCH /customers/{customerId}/product-lists/{listId} (updateCustomerProductList)
POST /customers/{customerId}/product-lists/{listId}/items (createCustomerProductListItem)
GET /customers/{customerId}/product-lists/{listId}/items/{itemId} (getCustomerProductListItem)
DELETE /customers/{customerId}/product-lists/{listId}/items/{itemId} (deleteCustomerProductListItem)
PATCH /customers/{customerId}/product-lists/{listId}/items/{itemId} (updateCustomerProductListItem)
sfcc.shopper-myaccount.rwGET /customers/{customerId} (getCustomer)
PATCH /customers/{customerId} (updateCustomer)
sfcc.shopper-configurationsGET /configurations (getConfigurations)
sfcc.shopper-product-searchGET /product-search (productSearch)
GET /search-suggestions (getSearchSuggestions)
sfcc.shopper-productlistsGET /product-lists (getPublicProductListsBySearchTerm)
GET /product-lists/{listId} (getPublicProductList)
GET /product-lists/{listId}/items (getPublicProductListItems)
GET /product-lists/{listId}/items/{itemId} (getProductListItem)
sfcc.shopper-productsGET /products (getProducts)
GET /products/{id} (getProduct)
sfcc.shopper-promotionsGET /promotions (getPromotions)
GET /promotions/campaigns/{campaignId} (getPromotionsForCampaign)
sfcc.shopper-storesGET /stores (getStores)
GET /store-search (searchStores)
sfcc.shopper-experienceGET /pages (getPages)
GET /pages/{pageId} (getPage)
GET /components/{componentId} (getComponent)
sfcc.shopper-delivery-estimatesGET /delivery-estimates (getDeliveryEstimates)
sfcc.shopper-availabilityGET /availability (getAvailability)

To add additional scopes beyond those included in sfcc.shopper-standard, append them to the client’s scopes list. For example, this scopes list specifies a client with all the scopes from sfcc.shopper-standard plus sfcc.pwdless_login.

For more information on specific scopes, see Authorization Scopes Catalog.

Don’t use sfcc.shopper-standard if it contains any scopes that you don’t want assigned to the client. It isn’t possible to customize the set of scopes included in sfcc.shopper-standard. Instead, you must explicitly list each scope that you want. For example, here’s the scopes list for a client with all the scopes from sfcc.shopper-standard except for the myaccount scopes.