Retrieve orders by multiple order name through REST API

I am trying to retrieve a list of orders by order name through the orders API.

I tried the following but it doesn’t work.

https://shopify.com/admin/api/2022-01/orders.json?name=123,456,789&status=any&limit=250

Pulling by one order name works fine though. I just don’t know how to pull multiple orders by order name in one call. Any ideas?

Thanks in advance!

use query notation, and specify name OR name

https://shopify.com/admin/api/2022-01/orders.json?query=name:123 OR name:456 OR name:789&status=any&limit=250