Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hello,
we are using search API 'GET /admin/api/2022-01/customers/search.json' passing the next query parameter
'updated_at:>2022-03-13T14:00:00.000Z' we observed that this call returns all entries updated at that date not only those that have been updated after 14:00. Is there a bug in this API, how we can use hours+minute to get the last updated customers?
Bets regards,
TinyEmail
Solved! Go to the solution
This is an accepted solution.
In the end, figured it out that: if we separate the date in apostrophes it works
Ex :
updated_at:>'2022-03-13T14:00:00.000Z'
Wrong Notation: updated_at:>2022-03-13T14:00:00.000Z
It will be great to specify it somewhere in the documentation!
Anybody is here from Shopify? We cannot find this neither in documentation neither in other posts
This is an accepted solution.
In the end, figured it out that: if we separate the date in apostrophes it works
Ex :
updated_at:>'2022-03-13T14:00:00.000Z'
Wrong Notation: updated_at:>2022-03-13T14:00:00.000Z
It will be great to specify it somewhere in the documentation!