How can I search order by tags

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

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

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:

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

Yah same result

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

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

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

How should be used the untagged filter? The GET for https://api.ordoro.com/order?untagged returns:

{
“error_message”: “‘NoneType’ object has no attribute ‘rule’”,
“param”: null
}

Here more headers:
X-API-REQUEST-ID:63160522-84c0-412c-b152-06b2ed5b94dc
X-Ordoro-API-Server:i-0ff9c7919bcda0eca 1.996.0
X-ORDORO-HANDLED-BY:ip-172-31-11-157
X-SENTRY-ID:2384ee0f29c144a9b5a5ee44759ad082

The request should be:

/order?untagged
or
/order?untagged=
or something else?

Regards

More on this particular issue, I found doing the call:
https://apiverson.ordoro.com/order?untagged=true works (at least using postman) and retrieve all the orders untagged, however doing the same call using this url:
https://api.ordoro.com/order?untagged=true
Returns this:
{
“error_message”: “‘NoneType’ object has no attribute ‘rule’”,
“param”: null
}

So, at this point not sure which url use, which one is supposed to be the correct, the api.ordoro or the apiverson.ordoro?

Regards,

Hey @eliezer.moreno

https://apiverson.ordoro.com/order?untagged=true will return the correct results.

To get the same results with the https://api.ordoro.com domain, you will need to hit the /v3/order?untagged=true endpoint

We are working to update our documentation to make this more clear.