---
schema_version: "1"
id: 9bbe9da7a0f222674f21d890ccf5d73cc578b8e02c5339197b4fe0d388c5fa4f
title: June 2024
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/b2c_com_api_june_2024.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.b2c_com_api_june_2024.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: dcbb8630ee1008be85b2aa1a35b26dc1b574866b3c9f45c7209cfbd500c75774
description: "SCAPI release, SCAPI fixes, and SLAS Release with the B2C Commerce 24.7 release:"
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# June 2024

SCAPI release, SCAPI fixes, and SLAS Release with the B2C Commerce 24.7 release:

For more detailed release information, see [B2C Commerce API Release Notes](https://developer.salesforce.com/docs/commerce/commerce-api/references/about-commerce-api/about.html).

SCAPI Release

With B2C Commerce version 24.7.0

- [Collect Request Details](https://developer.salesforce.com/docs/commerce/commerce-api/guide/collect-request-details.html) for SCAPI requests by using the HTTP request header sfdc\_verbose: true.
- Merchants and developers can update the status of redeemed coupons using the new [Coupons API](https://developer.salesforce.com/docs/commerce/commerce-api/references/coupons?meta=Summary) `redeemCoupon` endpoint.
- Use the [SEO API](https://developer.salesforce.com/docs/commerce/commerce-api/references/shopper-seo?meta=Summary) to upload a custom sitemap and trigger the sitemap generation process. You can now combine your external routes with those in B2C Commerce in a single sitemap.
- [Shopper Context API](https://developer.salesforce.com/docs/commerce/commerce-api/references/shopper-context?meta=Summary)
    - Now provides enhanced geolocation capabilities. For details, see [Shopper Geolocation.](https://developer.salesforce.com/docs/commerce/commerce-api/guide/shopper-context-geolocation.html)
- Checkout APIs
    
    - For Shopper Baskets [v1](https://developer.salesforce.com/docs/commerce/commerce-api/references/shopper-baskets?meta=Summary) and [v2](https://developer.salesforce.com/docs/commerce/commerce-api/references/shopper-baskets-v2?meta=Summary) `createBasket` and `updateBasket` endpoints, the product line item quantity limit is now set to the API quota [`api.basket.productLineItemQuantity`](https://salesforcecommercecloud.github.io/b2c-dev-doc/docs/upcoming/quota/html/API_Quotas.html#category_Basket) of 1000, and the API no longer returns a 400 Bad Request for values greater than 999.
    - In addition, the 999 product line item quantity limit on [`createOrders`](https://developer.salesforce.com/docs/commerce/commerce-api/references/orders?meta=createOrders) is removed, and the quantity set by this endpoint is now unlimited.
    
    With B2C Commerce version 24.7.1
    
    - [Shopper Context API](https://developer.salesforce.com/docs/commerce/commerce-api/references/shopper-context?meta=Summary)
        - Now requires a `siteId` to be passed. For details, see the [Shopper Context Guide](https://developer.salesforce.com/docs/commerce/commerce-api/guide/shopper-context-api.html#constraints).
        - Constraints have been relaxed, and all SCAPI and OCAPI endpoints are now fully compatible with Shopper Context. For details, see [Shopper Context Constraints](https://developer.salesforce.com/docs/commerce/commerce-api/guide/shopper-context-api.html#constraints).
    - The [Shopper Customers API](https://developer.salesforce.com/docs/commerce/commerce-api/references/shopper-customers?meta=Summary) `updateCustomer` endpoint allows the `loginId` to be updated if a valid current password is provided for the shopper.
    - [Preferences API](https://developer.salesforce.com/docs/commerce/commerce-api/references/preferences?meta=Summary)
        - When retrieving site and global preferences, the Preferences API first checks for custom settings, and if no custom settings exist, now instead returns the default settings in Business Manager.
- The following Script API methods are available to support SCAPI external taxation APIs with hooks:
- - [dw.order.LineItemCtnr#isExternallyTaxed](https://salesforcecommercecloud.github.io/b2c-dev-doc/docs/current/scriptapi/html/api/class_dw_order_LineItemCtnr.html#dw_order_LineItemCtnr_isExternallyTaxed_DetailAnchor): Returns true if the basket was created with taxMode = external.
    - [dw.order.TaxMgr#applyExternalTax](https://salesforcecommercecloud.github.io/b2c-dev-doc/docs/current/scriptapi/html/api/class_dw_order_TaxMgr.html#dw_order_TaxMgr_applyExternalTax_Basket_DetailAnchor): Applies externally set tax rates to the given basket. Use when dw.order.LineItemCtnr#isExternallyTaxed returns true.
        
        For details, see [Extensibility via Hooks](https://developer.salesforce.com/docs/commerce/commerce-api/guide/extensibility_via_hooks.html#taxes-apis-and-hooks) and [updateItemsinBasket](https://developer.salesforce.com/docs/commerce/commerce-api/references/shopper-baskets?meta=updateItemsInBasket).
- The Shopper endpoint constraint for supporting trusted agent tokens on a specific subset of Shopper endpoints has been removed. For details, see [Trusted Agent](https://developer.salesforce.com/docs/commerce/commerce-api/guide/slas-trusted-agent.html#constraints)
- The `siteId` query parameter is no longer mandatory for custom API calls. For details, see [Custom APIs](https://developer.salesforce.com/docs/commerce/commerce-api/guide/custom-apis.html).
- Server-Side Web-Tier Caching is enabled for:
    - All SCAPI customers who aren’t currently using the cached APIs and haven’t made production requests to any cached APIs in the last 7 days. For the list of cached APIs and other details, see [Server-Side Web-Tier Caching](https://developer.salesforce.com/docs/commerce/commerce-api/guide/server-side-web-tier-caching.html).
    - All instances that don't use [Shopper Search API](https://developer.salesforce.com/docs/commerce/commerce-api/references/shopper-search?meta=Summary) `productSearch` and `getSearchSuggestions` endpoints on their PRD instances. For details, see [Server-Side Web-Tier Caching](https://developer.salesforce.com/docs/commerce/commerce-api/guide/server-side-web-tier-caching.html)

SCAPI Fixes

With B2C Commerce version 24.6, the [`mergeBasket`](https://developer.salesforce.com/docs/commerce/commerce-api/references/shopper-baskets-v2?meta=mergeBasket) endpoint now merges the guest shopper’s `shippingAddress` and `shippingMethod` into the registered basket when the registered basket does not contain `shippingAddress` or `shippingMethod`.

SLAS Release

- To enhance security for our customers using the Shopper Login API Access Service (SLAS), a `channel_id` (site) parameter is now required when requesting a guest access token with a `grant_type` of `client_credentials` . This change prevents unauthorized access across different storefronts. Existing customers must update their implementation to include the `channel_id` parameter in the client credential call in guest flows by 7/31/2024. For details, see [Guest Tokens](https://developer.salesforce.com/docs/commerce/commerce-api/guide/slas.html#guest-tokens).
- SLAS Admin: Added validation for SLAS Client callback URLs to prevent the use of localhost or loopback addresses as host names in production environments.