Copied to clipboard

Flag this post as spam?

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


  • Scott Meikle 28 posts 228 karma points
    Mar 26, 2024 @ 10:35
    Scott Meikle
    0

    Access all current carts ?

    Hello,

    I am working with an Umbraco 8 site that is using Vendr v1.4.1. and we are stuck with those versions for the time being (long story). In this context, is there any way to access all current carts, by which I mean get a list of all carts that are currently active?

    My initial thinking for implementing this would be using the API to list all orders which have a status of "New" and restrict the date range to today - is that correct / sufficient to define what the current, active carts are ?

    Any pointers would be appreciated :-)

    Kind regards,

    Scott

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Mar 26, 2024 @ 12:26
    Matt Brailsford
    100

    You should be able to query for orders that are not finalized (a finalized order is a completed order, where unfinalized are carts). You could filter further by last updated date if you want carts modified within a specific timeframe.

  • Scott Meikle 28 posts 228 karma points
    Mar 26, 2024 @ 14:13
    Scott Meikle
    0

    Thanks Matt, that's very helpful.

Please Sign in or register to post replies

Write your reply to:

Draft