Distinguish Between OCAPI and SCAPI Requests

Use the new method added to the dw.system.Request object to identify the SCAPI context. You can now distinguish between OCAPI and SCAPI requests in extension points (hooks). Direct access to the '_sfdc_mercury' header has been deprecated.

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.