Loading
시스템 관리자에 대한 피싱 방지 MFA 및 전 직원사용자 MFA 적용 안내 더 많이 읽기
Get Started with B2C Commerce
Shopper Registered Event

Shopper Registered Event

The system fires a B2C Commerce shopper registered event when a new customer profile is successfully created and committed. This event contains core customer information needed by external systems. Unlike replication events, which operate at the organization level, the shopper registered event is site-specific, so you can register and route it independently per site.

Available in: B2C Commerce release 26.7 and later.

Event ID

Event ID Description When fired
sf.cc.shopper.registered Shopper registered successfully When a customer profile is successfully created and the transaction is committed

HTTP headers

The shopper registered event uses the standard Commerce Cloud platform headers documented in Common HTTP Headers for B2C Commerce Events, with x-sf-cc-event-id set to sf.cc.shopper.registered.

JSON payload structure

Field Type Required Description
customerId string Yes Unique identifier (UUID) for the customer
registrationDate string Yes ISO-8601 timestamp when the customer was created
loginId string Yes Customer's login identifier
customerNo string Yes Customer number assigned by the system
email string No Customer's email address (included if profile exists and email is not blank)
firstName string No Customer's first name (included if profile exists and first name is not blank)
lastName string No Customer's last name (included if profile exists and last name is not blank)
phoneMobile string No Customer's mobile phone number (included if profile exists and phone is not blank)
sites array of strings Yes List of site IDs where the customer is registered. Site names are normalized by stripping the Sites- prefix and -Site suffix.

Example: full shopper registered event


{
"customerId": "abc123-uuid-def456",
"registrationDate": "2026-06-15T10:30:00Z",
"loginId": "john.doe@example.com",
"customerNo": "00000001",
"email": "john.doe@example.com",
"firstName": "John",
"lastName": "Doe",
"phoneMobile": "+1-555-0100",
"sites": ["RefArch", "SiteGenesis"]
}

Example: minimal shopper registered event


{
"customerId": "minimal-uuid-123",
"registrationDate": "2026-06-15T10:30:00Z",
"loginId": "john.doe@example.com",
"customerNo": "00000001",
"sites": ["RefArch", "SiteGenesis"]
}

Shopper registered implementation notes

  • The event is fired asynchronously after successful customer creation and transaction commit.
  • Optional fields are only included if they have non-blank values.
  • Site IDs are normalized by removing the Sites- prefix and -Site suffix (for example, Sites-RefArch-Site becomes RefArch).
  • The event is site-specific, so you can register different connectors for different sites.
  • The event is controlled by a feature toggle that's enabled by default.
  • If event serialization or firing fails, the customer creation process still succeeds.
 
로드 중
Salesforce Help | Article