Fired when a cart's fulfilment status changes, eg to shipped or delivered. Raised by CartManager.setFulfillmentStatus whenever the status set on a cart differs from its current one. It is a funnel event, so it can begin or advance a journey aimed at the profile who placed the order, and its toProps carries urns for the cart and website so the change can be described to an LLM or passed to an external system.

Group: Journeys

Implements: Event, FunnelEvent, CommonAppEvent


Properties

PropertyReturnsDescription
cartCartThe cart whose fulfilment status changed, as supplied to the constructor. Never null.
leadProfileProfileThe profile that placed the order, ie the person a funnel journey started from this event applies to.
profileProfileThe profile that placed the order, taken from the cart's profile.
relatedLeadLeadAlways null - a fulfilment status change is not raised against an existing funnel lead.
websiteWebsiteThe website the cart's order was placed on, as supplied to the constructor.

Methods

toProps()

Returns: Map<String,Serializable>

Builds the serialisable properties for this event, with urns pointing to its website and cart, for passing to external systems such as an LLM.

getWebsite()

Returns: Website

The website the cart's order was placed on, as supplied to the constructor.

getProfile()

Returns: Profile

The profile that placed the order, taken from the cart's profile.

getCart()

Returns: Cart

The cart whose fulfilment status changed, as supplied to the constructor. Never null.

getLeadProfile()

Returns: Profile

The profile that placed the order, ie the person a funnel journey started from this event applies to.

getRelatedLead()

Returns: Lead

Always null - a fulfilment status change is not raised against an existing funnel lead.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.