question

tharin avatar image
tharin asked David Marginian Deactivated edited

Get multiple order by list of id,Filter multiple ids on orders

I have a list of order id e.g. DA3JFD1152098, 8EPGC2KKD9DJ
I want to get multiple specific id for orders how do I get that. I have tried these

{ {url}}/v3/merchants/{ {mId}}/orders?filter=id=DA3JFD1152098&filter=id=8EPGC2KKD9DJM
{ {url}}/v3/merchants/{ {mId}}/orders?filter=id=DA3JFD1152098,8EPGC2KKD9DJM
{ {url}}/v3/merchants/{ {mId}}/orders?filter=id=[DA3JFD1152098,8EPGC2KKD9DJM]

None of these work
REST API
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated edited

This is now supported. The filter below will work for the orders endpoint (note: it may not work for other endpoints):

filter=id in ('id1','id2')


10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

chanel avatar image
chanel Deactivated answered
Unfortunately, you can only orders by id one at a time. You'll have to have the perfect filter to get multiple orders.
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community