fulfillment_status query not working Graphql Admin API

Solved

fulfillment_status query not working Graphql Admin API

seymur_crsp
Shopify Partner
67 4 10

Hello. I'm trying to get the orders which are not fulfilled. I'm using GraphQL Admin API and my search syntax is this:

"fulfillment_status:unfulfilled" but that returns nothing, while I clearly have unfulfilled orders in the store.

But when I use "fulfillment_status:any" it works and returns all the orders. So, query structure is correct I guess. Then what's wrong ? I also tried "NOT fulfillment_status:shipped" but that didn't work as well. I'm so confused

Accepted Solution (1)
seymur_crsp
Shopify Partner
67 4 10

This is an accepted solution.

Haha, yes. IDK how, but adding "reverse: true" argument helped.

View solution in original post

Replies 4 (4)

remy727
Shopify Partner
44 2 26

You can try "fulfillment_status:unshipped"

Looking for a Shopify App developer? Please contact me at remy.wang727@gmail.com

agentfitz
Shopify Partner
6 0 0

Did you have any luck figuring this out, @seymur_crsp . Same issue here...

seymur_crsp
Shopify Partner
67 4 10

This is an accepted solution.

Haha, yes. IDK how, but adding "reverse: true" argument helped.

joebow
Visitor
2 0 1

For me currently in `2024-10` `fulfillment_status:shipped` works, but `fulfillment_status:fulfilled` does not. But I do get a warning:
```
"warnings": [
  {
    "field": "fulfillment_status",
    "message": "Input `shipped` is not an accepted value."
  }
]
```
I also tried `unshipped` and it also seems to give me all `unfulfilled` orders.