Skip to main content
Event: checkout.session.abandoned.v-1.0.0 Fires when a checkout session is abandoned. This event has a different shape from the others: it brings the form as filled in until the moment of abandonment (checkoutForm) and the full query string captured on the checkout URL (searchParams), instead of the standard trackingParameters object.
An abandoned session is not an order, so this event has no orderId, status, customer, commission, amounts, or trackingParameters.

Payload

fingerprint is a unique session/browser identifier, and searchParams returns the complete captured query string, not limited to the fixed set of tracking parameters. abTest is present only when the abandoned session belonged to an A/B test: abTestCode identifies the test and abTestVariant the variant the buyer saw. checkoutUrl is the URL of the checkout page the buyer had open, query string included. It is absent on sessions recorded before this field existed. abandonedSaleUcode identifies this abandoned cart record. It carries the same value as the ucode query parameter appended to checkoutUrl, which is how sale recovery is tracked: when the buyer returns through that link and completes the purchase, the platform matches the sale back to this abandoned cart using that parameter.
If you rebuild the checkout link yourself instead of using checkoutUrl as delivered, keep the ucode parameter intact. Dropping or changing it breaks the recovered-sale attribution.
abandonedSaleUcode is absent on records written before this field existed. storeUcode identifies the store tied to this delivery. It appears only on webhooks sent to the vendor’s own endpoint (never on affiliate deliveries) and only when that vendor has a store configured.