/v2/orders/search no longer returns open orders

We have been using the /v2/orders/search endpoint to retrieve open orders. This seems to have stopped working around September 27th. Here is the body of our query:

{
“location_ids”: [
“REDACTED”
],
“query”: {
“filter”:{
“state_filter”: {
“states”: [“OPEN”]
},
“source_filter”: {
“source_names”: [
“Online Store”
]
},
“fulfillment_filter”: {
“fulfillment_types”: [
“PICKUP”
],
“fulfillment_states”: [
“RESERVED”,
“PREPARED”
]
}
}
}
}

This now returns an empty object even though there are open orders marked ready for pickup on our square dashboard. Any ideas?

Hi @hoofheartedbrewing can you please provide an order id or your Square application id and I will take a look to see what’s going on?

I removed the source_filter object since we only take orders online and it resolved the issue. At some point our source_name went from “Online Store” to “Square Online” which is why I wasn’t getting any orders back. All is right now.

1 Like