How can I search order by tags


#1

I want to tag my orders which we have already pulled. Can we find orders without any tags or with specific add through API

https://devapiverson.docs.apiary.io/#reference/order/orderordernumbertagtagid/post

I cant see get method for reading order tags.

regards,
//Muhammad Arshad


#2

You can GET orders that are untagged, by using the untagged parameter in the GET /order request.
See the docs here for the reference. https://devapiverson.docs.apiary.io/#reference/order/get


#3

I have a similar question but searching orders with specific tags.

I see how to get my tag information, for example

https://apiverson.ordoro.com/tag/13158

Is our THURSDAY tag. But I dont see how to check for orders with just those tags via the API

Also is there a way to get order counts with specific tags.

So for example I know I can GET https://apiverson.ordoro.com/order/counts to grab the current awaiting/shipped etc numbers.

Anyway to get the same information but add a tag parameter to just get that count?

I do see in the API example stuff like
https://apiverson.ordoro.com/order?tag=

But I’m not sure what I would in the tag= portion… just the tag ID# spits back

{
“limit”: 10,
“offset”: 0,
“count”: 0,
“order”: []
}

I’m new to this stuff to be gentle :slight_smile:


#4

@Keith have you tried: https://apiverson.ordoro.com/order?tag=THURSDAY?


#5

Yah same result

{
“limit”: 10,
“offset”: 0,
“count”: 0,
“order”: []
}


#6

Oh wait… the full name is “4 THURSDAY” that worked! Haha…

And I see it polls a count… very cool. Thank you!