How to get wholesale orders from API?

How can we filter orders from the API to list Wholesale orders, like the ones here?


Hi @daniellanger

This has not yet been implemented in our Public API. Please use the UI.
A feature request has been sent to the product team, and while they will consider it, there are no signs of this being included in this Q.

Have a nice day!

Got it - is there any field on the order api that denotes if an order is wholesale or b2b? Even if we can’t filter by it I can on my end.

Hello @daniellanger
Orders can be filtered by tags, so you could add a tag to identify them.
However, you will need to use it in conjunction with other filters to constrain the search base, as that filter can make a query take much longer.

Have a great day!