# How to access "abandoned" carts with the Admin API

**URL:** <https://forum.shopware.com/t/how-to-access-abandoned-carts-with-the-admin-api/88524>\
**Category:** Shopware 6 (English)\
**Created:** [22. Juni 2021 um 11:56 UTC](https://forum.shopware.com/t/how-to-access-abandoned-carts-with-the-admin-api/88524 "2021-06-22T11:56:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Twan](https://avatars.discourse-cdn.com/v4/letter/t/a587f6/32.png) [@Twan](https://forum.shopware.com/u/Twan)\
**Post date:** [22. Juni 2021 um 11:56 UTC](https://forum.shopware.com/t/how-to-access-abandoned-carts-with-the-admin-api/88524/1 "2021-06-22T11:56:56Z")

</div>

Hi all,

I’m kinda new to Shopware and I’m searching for a possibility to retrieve abandoned cart records with the Admin API. Is there a way to accomplish this without any custom plugins? If not, are there any plans to make this possible in the near future?

Thanks in advance for your response!

---

<div class="post-metadata">

**Author:** ![Twan](https://avatars.discourse-cdn.com/v4/letter/t/a587f6/32.png) [@Twan](https://forum.shopware.com/u/Twan)\
**Post date:** [10. September 2021 um 09:26 UTC](https://forum.shopware.com/t/how-to-access-abandoned-carts-with-the-admin-api/88524/2 "2021-09-10T09:26:34Z")

</div>

I figured out that there is no such thing like „abandoned carts“ in Shopware 6. There is a „cart“ database table, but without an entity class.

As a solution I created a custom plugin which includes a „abandoned\_cart“ entity, a scheduled task to mark cart records as „abandoned“ and an event listeners to cleanup „abandoned carts“ after a cart gets updated or deleted.

At this point you’re only able to access this data with the API.

> **[GitHub - mailcampaigns/shopware-6-abandoned-cart-plugin](https://github.com/mailcampaigns/shopware-6-abandoned-cart-plugin)**
>
> Contribute to mailcampaigns/shopware-6-abandoned-cart-plugin development by creating an account on GitHub.
