inventoryTransfers status filter not working

I’m trying the following query with the new inventoryTransfers API (2025-07).

I DO have a canceled transfer in the account, but it doesn’t show up. The query result is an empty array. I also tried wrapping the status in quotes, to no avail.

@Alan_G, can you please see if something like this works for you? This is a very new API, so I think it could be something missing here.

{
  inventoryTransfers(first: 10, query: "status:CANCELED") {
    nodes {
      name
      status
    }
  }
}
2 Likes

I also tried this API, is this a bug?
@Alan_G

Hey @flavio-b and @kyle_liu,

I get the same when I test as you did.

When I test with lowercase status fields it does work, so this field is case-sensitive.

Try query:"status:canceled" and let me know if that works for you.

1 Like

Thanks, @KyleG-Shopify!

That works!

I didn’t even try lowercase because the status field is an enum and they are uppercased, so that’s bit surprising.

Do you know if this is documented somewhere? I want to know if lowercase for enums is the standard in query filters, or if it’s a mistake and something that’s likely to change in the future.

Thanks for trying that as well. I did some more testing on other queries and most are case-insensitive. Let me check with our team here to see if this should be changed.

I’ll follow up once I know more :slight_smile:

1 Like

Hey Flavio,

I just wanted to follow up to let you know that the case sensitivity is not expected so our team is going to look in to fixing that. In the meantime, using lowercase will work.

1 Like

Awesome :slight_smile: Thanks for the follow up!

1 Like

Hey all! Closing the loop on this thread to let you know that the case sensitivity issue is resolved!

2 Likes