We have a workflow that calls the Shopify Orders API daily to return all Orders created since "created_at_min":
...but we are frequently seeing orders missing from the response!
For example, the response from the call above is missing orders (name) #1882 and #1883.
I can confirm the orders exist by directly calling them by name, like this:
But when I try retrieve them using the “created_at_min” search parameter, like this:
...THE ORDER IS MISSING!
Solved! Go to the solution
This is an accepted solution.
It appears the issue may only occur with orders that were archived (There are instances here where users have ‘archived’ orders and then ‘unarchived’ them).
In these cases, it seems to make a difference what format is used when specifying the “created_at_min” timestamp in the search query.
The following timestamp formats did not work for me:
However, I know a plus (+) character in a URL is interpreted as a space character, so following a suggestion in another message, I URL encoded the time zone string, which worked!