Collapse Menu
Documentation
FastSpring App
Developer Tools
Contact Support

mailingListEntry.abandoned

Overview

When a consumer enters their email address, but does not complete their purchase, the mailingListEntry.abandoned event fires 30 minutes after the most recent activity. See Cart Abandonment Tracking and Consumer Mailing List Opt-In for more information.

mailingListEntry.abandoned is not affected by Webhook Expansion.
 

Contents of Event Payload

NameTypeDescription
idstringID of the event
liststringList for which the email address entry has been updated: subscribed, unsubscribed or abandoned
updatedintegerDate of the update, in milliseconds
reasonstringReason the list was updated: failed, subscribed, unsubscribed or abandoned
orderobjectDetails of the transaction associated with the update, if any
order.referencestringIf the order was not completed at the time of the update, this would be null; otherwise, it is the customer-visible order reference for the transaction
order.idstringInternal ID of the order, if applicable
order.orderstringInternal ID of the order, if applicable
order.referrerstringFull url from the page where the abandoned checkout/cart event occurred
order.sessionstring 
order.storefrontstringName of the storefront in FastSpring
order.itemsarrayList of products that were in the cart at the moment the email address was entered; (one object per product) this data can be useful in creating customized re-marketing email messages. See Products for more information on object contents
order.items.productstringProduct path / product ID
order.items.pathstringPath of the main product if this item is a product variation
order.items.quantityintegerQuantity of the current product that was selected
order.items.displaystringCustomer-facing display name of the product
order.items.summarystringDescriptive text from the product's Summary field
order.items.imageURLstringURL of the product's Icon image file, hosted by FastSpring
order.items.isVirtualboolean 
order.items.isSubscriptionbooleanTrue if the product is a subscription
order.items.price  
order.items.variationstringProduct variation path / product variation ID if this item is a product variation
order.items.descriptionstringContents of the product's long Description
order.items.skustringoptional internal SKU ID (e.g., your part number) for the current product
order.items.pricingobjectproduct price; may contain multiple "string":number pairings, one for each specified currency (e.g. "USD":14.95)
abandoned_cart_sessionstringThe abandoned cart/checkout session ID (expires after 24 hours by default)
abandoned_cart_session_urlstringYour store ID with abandoned cart/checkout session ID appended ie https://storename.onfastspring.com/session/abandoned_sessionID
abandoned_atstringDate and time when the checkout/cart was abandoned
emailstringEmail address associated with the abandoned order
firstNamestringFirst name associated with the consumer’s email address
lastNamestringLast name associated with the consumer’s email address
countrystringtwo-character ISO code for the country detected via geo IP location
currencystringthree-character ISO code for the currency of the abandoned cart
languagestringISO 2-character language code for the language in which the checkout session was processed
storefrontstringName of the storefront in FastSpring
referrerstringFull url from the page where the abandoned checkout/cart event occurred
optInstringTrue if user has opted in to communications via the FastSpring checkout

Example Payload for mailingListEntry.abandoned Webhook 

  • {
        "id": "11318408534c4eccacef0c585e9cf47739e56331ef3695ea4d0bbb3587788177",
        "list": "abandoned",
        "updated": 1619503632991,
        "reason": "abandoned",
        "order": {
            "reference": null,
            "id": null,
            "order": null,
            "referrer": "https://solisinc.test.onfastspring.com/",
            "session": "8YXf4EdPSfI:BknYgazoSSC-GjChXtHRMQ",
            "storefront": "solisinc",
            "items": [{
                "product": "dj-soft-pro",
                "path": "dj-soft-pro",
                "quantity": 1,
                "display": "Yosoy Pro Cloud",
                "summary": "Yosoy Pro Cloud subscription",
                "imageUrl": "https://d8y8nchqlnmka.cloudfront.net/8YXf4EdPSfI/fHonzeEtTVg/5af7b9528b57f731e597f866_66_Grooveshark.png",
                "isVirtual": false,
                "isSubscription": true,
                "price": 255.46,
                "variation": "dj-soft-pro",
                "description": "Music anytime anywhere",
                "sku": null,
                "pricing": {
                    "values": {
                        "USD": 255.46
                    }
                }
            }, {
                "product": "product-b",
                "path": "product-b",
                "quantity": 1,
                "display": "Product B",
                "summary": null,
                "imageUrl": null,
                "isVirtual": false,
                "isSubscription": false,
                "price": 41.19,
                "variation": "product-b",
                "description": "Product B",
                "sku": null,
                "pricing": {
                    "values": {
                        "USD": 45.0,
                        "EUR": 41.19,
                        "GBP": 33.65
                    }
                }
            }, {
                "product": "how-to-win-friends-ebook",
                "path": "how-to-win-friends-ebook",
                "quantity": 1,
                "display": "Summary of How to Win Friends and Influence Others",
                "summary": "fdfsdYXWin friends and influence others...",
                "imageUrl": "https://d8y8nchqlnmka.cloudfront.net/8YXf4EdPSfI/GG3I_ETRSWU/summary_of_winning_friends.jpg",
                "isVirtual": false,
                "isSubscription": false,
                "price": 6.99,
                "variation": "how-to-win-friends-ebook",
                "description": "You can go after the job you want—and get it!\n\nYou can take the job you have—and improve it!\n\nYou can take any situation—and make it work for you!\n\nDale Carnegie's rock-solid, time-tested advice has carried countless people up the ladder of success in their business and personal lives. One of the most groundbreaking and timeless bestsellers of all time, How to Win Friends & Influence People will teach you:\n\n-Six ways to make people like you\n\n-Twelve ways to win people to your way of thinking\n\n-Nine ways to change people without arousing resentment\n\nAnd much more! Achieve your maximum potential—a must-read for the twenty-first century with more than 15 million copies sold!",
                "sku": "SKU-0001",
                "pricing": {
                    "values": {
                        "EUR": 6.99,
                        "GBP": 3.56,
                        "USD": 5.99
                    }
                }
            }]
        },
        "abandoned_cart_session": "BknYgazoSSC-GjChXtHRMQ",
        "abandoned_cart_session_url": "https://solisinc.test.onfastspring.com/session/BknYgazoSSC-GjChXtHRMQ",
        "abandoned_at": "2021-04-27 06:07:12",
        "email": "joconner@fastspring.com",
        "firstName": "John",
        "lastName": "O",
        "country": "DE",
        "currency": "EUR",
        "language": "en",
        "storefront": "solisinc",
        "referrer": "https://solisinc.test.onfastspring.com/",
        "optIn": false
    }