Free & Open Source v1.0.0 Magento 2.4.8+, PHP 8.1-8.3

Abandoned Cart API for Magento 2

RESTful & GraphQL API for abandoned cart recovery — connect your email marketing platform to real-time abandoned cart data with enterprise-grade performance.

View on GitHub composer require magendoo/module-abandoned-cart

Features

RESTful & GraphQL APIs

Dual API support gives you flexibility. Use REST for server-to-server integrations with Klaviyo, Mailchimp, or ActiveCampaign. Use GraphQL for frontend-driven recovery flows and headless storefronts.

Advanced Filtering

Filter abandoned carts by date range, customer group, store view, cart value, and product SKUs. Build targeted recovery segments without custom code.

Performance Optimized — 150ms

Optimized database queries and response caching deliver sub-150ms response times even on stores with millions of quote records. No impact on storefront performance.

Rich Data Sets

Every abandoned cart response includes full customer data, cart items with images and options, applied coupon codes, shipping estimates, and cart totals — everything your recovery campaign needs.

Production Ready

Token-based authentication, rate limiting, comprehensive error handling, and detailed logging. Built for production workloads with proper security and observability.

Extensible Architecture

Clean service contracts and plugin points let you extend the API with custom data, custom filters, or custom authentication. Add fields your marketing team needs without modifying core code.

Use Cases

  • Klaviyo/Mailchimp/ActiveCampaign integration
  • Custom recovery campaigns
  • Analytics dashboards
  • CRM integrations

Installation

Install via Composer

composer require magendoo/module-abandoned-cart
bin/magento module:enable Magendoo_AbandonedCart
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush

Quick Start

  1. Create an integration token under System → Integrations with access to the Abandoned Cart API resources
  2. Test the connection:
    curl -H "Authorization: Bearer YOUR_TOKEN" \
      https://your-store.com/rest/V1/abandoned-carts?days=7
  3. Connect your email marketing platform using the token and endpoint URL

Need help with installation or customization?

Every module is built for production, but every store is different. If you need integration, customization, or enterprise support — let's talk.

Get in Touch GitHub
22+ Years in Commerce Engineering
50+ Enterprise Magento Projects
EU Based in Europe, Serving Europe
OSS Open Source Contributor
Get a Proposal • 24h response Call