REST Orders API - Filtering Orders via tags/tag

As per the API doc, tags/tag is not a supported filer for Orders API.

But the following config works and filters order with the tag as ‘test’ :

Method - GET
URL - /admin/api/2021-01/orders.json?tag=test

However, for special characters like #, It is only working when we give the urlencoded character.

For example

URL -/admin/api/2021-01/orders.json?tag=%231010 (filters based on #1010)

URL -/admin/api/2021-01/orders.json?tag=#1010 (retrieves all the records)

Is this a new feature yet to be documented? Curious to know if this filter is stable enough to use.

Please help!

1 Like