Shopify GraphQL orders query ignores time in datetime filters

I ran into an issue using the query argument with datetime fields:

Docs:
https://shopify.dev/docs/api/admin-graphql/2026-01/queries/orders#argument-query
Also tried with 2026-04

What I tested

  • created_at

  • processed_at

Behavior

:white_check_mark: This works (date only):

created_at:2020-10-21

:cross_mark: This does NOT work (date + time):

created_at:2020-10-21T23:39:20Z

Observation

  • Filtering by date works as expected

  • Filtering by full timestamp (ISO 8601) does not return results

Question

Is this expected behavior?
Are time-based filters unsupported in query, or is there a specific format required?

Would appreciate clarification or workaround :+1:

Hi @0_0

Try adding single quotation marks

“queryStr”:“processed_at:>=‘2026-01-01T00:01:33Z’”

Thanks Kyle!

adding the single quote works

is this a bug? or the documentation is just not specific enough?

Hi @0_0

It might be an issue with the document, as there are single quotation marks in the created_at condition

Shopify API search syntax