Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Francis Benyah 35 posts 111 karma points
    Jul 19, 2020 @ 17:20
    Francis Benyah

    Get List of Abondoned Carts

    Hey Matt

    Hope you are well.

    I was just wondering, what will be the best way to get a list of abandoned or orphaned carts in vendr programmatically


  • Matt Brailsford 4122 posts 22150 karma points MVP 9x c-trib
    Jul 20, 2020 @ 09:10
    Matt Brailsford

    Hey Francis,

    We are working on a better approach for this, but right now, you'd need to use the SearchOrders method.

    var abandonedCarts = VendrApi.Instance.SearchOrders(storeId,
        searchTerm: null, cartOrOrderNumber: null, firstName: null, lastName: null,
        isFinalized: false, orderStatusIds: null, paymentStatuses: null,
        fromDate: fromDate, toDate: toDate);

    It's not the prettiest approach, but it should get you what you need.


  • Francis Benyah 35 posts 111 karma points
    Jul 21, 2020 @ 15:08
    Francis Benyah

    Thanks Matt

    Will use this for now. Much appreciated

Please Sign in or register to post replies

Write your reply to: