Loading
Feature degradation | Gmail Email delivery failureRead More
B2C Commerce Release Notes
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          beforePOST_v2 replaces the dw.ocapi.shop.basket.beforePOST Hook

          beforePOST_v2 replaces the dw.ocapi.shop.basket.beforePOST Hook

          With the OCAPI 22.10 release, dw.ocapi.shop.basket.beforePOST_v2 replaces the nonfunctional dw.ocapi.shop.basket.beforePOST hook.

          Why: The original hook had these issues:

          • Using an incorrect input type (created basket, which isn’t available before the basket creation instead of the basket request document).
          • Using an incorrect execution order (hook was executed after the creation of the basket, which is too late for a before hook to function).

          Use the new beforePOST customization hook, as using the original hook is highly discouraged.

           
          Loading
          Salesforce Help | Article