How to access "abandoned" carts with the Admin API

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!

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.