Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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
Thanks
Hey Francis,
We are working on a better approach for this, but right now, you'd need to use the SearchOrders method.
SearchOrders
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.
Matt
Thanks Matt
Will use this for now. Much appreciated
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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
Thanks
Hey Francis,
We are working on a better approach for this, but right now, you'd need to use the
SearchOrders
method.It's not the prettiest approach, but it should get you what you need.
Matt
Thanks Matt
Will use this for now. Much appreciated
is working on a reply...