WebCartAbandonedEvent

Notifies subscribers of an abandoned cart. This object is available in API version 63.0 and later.

Supported Calls 

describeSObjects()

Supported Subscribers 

SubscriberSupported?
Apex TriggersYes
FlowsYes
ProcessesYes
Pub/Sub APIYes
Streaming API (CometD)Yes

Subscription Channel 

/event/WebCartAbandonedEvent

Event Delivery Allocation Enforced 

No

Special Access Rules 

WebCartAbandonedEvent is available only if the B2B or B2C Commerce license is enabled.

Fields 

ContactDetails 

Type: textarea

Properties: Nillable

Description: The contact details of the shopper in JSON format. Contains email address, contact ID, and device ID properties.

Example: Registered shopper:

1{ "emailAddress" : "user@example.com" , "contactId" : "003XXXXXXXXXXXX" , "deviceId" : null }

Example: Guest shopper:

1{ "emailAddress" : "user@example.com" , "contactId" : null , "deviceId" : "e8fd7b07-463a-4658-b440-9ef3e4b5fa91" }

EventUuid 

Type: string

Properties: Nillable

Description: A universally unique identifier (UUID) that identifies a platform event message.

Individual 

Type: string

Properties: Nillable

Description: The individual ID of the shopper. For registered shoppers, it’s stored as contactId in contactDetails.contactId. For guest shoppers, it’s stored as guestUuid in contactDetails.deviceId.

ReplayId 

Type: string

Properties: Nillable

Description: Represents an ID value that is populated by the system and refers to the position of the event in the event stream. Replay ID values aren’t guaranteed to be contiguous for consecutive events. A subscriber can store a replay ID value and use it on resubscription to retrieve missed events that are within the retention window.

WebCartId 

Type: reference

Properties: Nillable

Description: The ID of the cart. This field is a relationship field.

Relationship Name: WebCart

Refers To: WebCart

WebStoreId 

Type: reference

Properties: Nillable

Description: The ID of the store. This field is a relationship field.

Relationship Name: WebStore

Refers To: WebStore