---
schema_version: "1"
id: cd002f4511d5cd6635dabd313e007f261355daef3927d541124db9bfd1bc4fa6
title: Ensure Basket Validation for SCAPI Calls
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/b2c_rn_25_6_basket_validation.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.b2c_rn_25_6_basket_validation.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 971bc2ba58b54d5def05cc076393fedc439aee0e4ee2c6194b935930a1e15e35
description: The basket validation hook, dw.ocapi.shop.basket.validateBasket, is now triggered for both OCAPI and SCAPI calls.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Ensure Basket Validation for SCAPI Calls

The basket validation hook, `dw.ocapi.shop.basket.validateBasket`, is now triggered for both OCAPI and SCAPI calls.

**Why:** This fix makes sure that basket validation is consistently applied across all API calls. This change reduces unexpected behavior and improves ‌basket management.

**How:** Review your existing implementations to make sure they handle this change appropriately.