Query Orders later than 14th feb 2025
Has results earlier
"data": {
"orders": {
"nodes": [
{
"name": "#1002",
"email": "sdsadasd@mail.com",
"id": "gid://shopify/Order/#####",
"createdAt": "2024-09-16T11:41:21Z",
Below is the parsed query, so thats all good
"search": [
{
"path": [
"orders"
],
"query": "fulfillment_status:'fulfilled' created_at:>'2024-02-14T15:23:00Z'",
"parsed": {
"and": [
{
"field": "created_at",
"range_gt": "2024-02-14T15:23:00+00:00"
},
{
"field": "fulfillment_status",
"match_phrase": "fulfilled"
}
]
}
}
]
API Latest 2025/01 and also 2025/04
Works as expected on products search, But totally ignores the date when doing orders search.
I started with updated_at. but then changed to created_at after experiencing this issue and thinking maybe not all orders have an update_at date.
an easy query to replicate:
{
orders(first:5, sortKey:ID, query:"fulfillment_status:'fulfilled' created_at:>'2024-02-14T15:23:00Z'") {
nodes{
name
id
createdAt
}
}
}