Shopper Context API Enhancements

The Shopper Context API has been enhanced to support the following:

Personalize Based on Source Code

Developers can set the source code with the Shopper Context API and trigger personalized promotions, payment, and shipment methods. Setting a source code evaluates the source code group that triggers the promotion (campaign assignment) and Price books (assigned to source code group).

Set Store Specific Promotions

Developers can personalize prices and promotions based on the store-specific promotion and pricing rules imported within the assignments.xml.

  • Create the assignments using the import and export feature of Business Manager.

In Business Manager, select Merchant Tools > Online Marketing > Import & Export.