---
schema_version: "1"
id: 7fc84b609ca1706b69c48ddccb51c753920f17a60f3cc28857ebf203211b86dd
title: Shopper Context API Enhancements
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/shopper_context_229.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.shopper_context_229.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e50fa8eab3d84a208fa7bf8ae438f6a9f662f7732ecbe22b9583cbcf48fb7ba2
description: "The Shopper Context API has been enhanced to support:"
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Shopper Context API Enhancements

The Shopper Context API has been enhanced to support:

## 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**.