Is there a way to get all recent orders across multiple locations

Is there a way to get all orders without passing the location Id?

We are a mobile food service and have several locations since we travel to a set of different locations daily. We typically open online orders for a new location 3 to seven days before we travel to that location. We modify the pickup status to support this workflow. Often this means that on average 6 to 14 locations are available for pre-ordering.

To fix a gap in communications, I’m using an API call to add the customers phone number to the note field for a downstream communication because they currently do not read the phone field in the order. I’d like to avoid a looping call for each location to see if any orders exist. Unfortunately, I haven’t found a way to use fulfillment information as a filter for the number of locations.

Yes, with SearchOrders you can pass in an array of location_ids. So you can search for orders across all location for the Square account. :slightly_smiling_face:

Thanks. I have decided to use webhooks instead which will make the process more efficient.

Perfect! Glad you have a solution. :slightly_smiling_face: