Retrieve number of orders pending in self serve

It depends on what exactly you’re looking for.

  1. If you want to see a list of OPEN orders, you would use SearchOrders using query->filter->state_filter->states == "OPEN"
  2. If you want to see a list of OPEN, paid orders, you would need to do the above, but then also add in some manual logic to check for Order->tenders to see if the order has been paid for
  3. If you want to see a list of completed, closed orders, you would use SearchOrders using query->filter->state_filter->states == "COMPLETED"