A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
I use the API customers/count.json and customers.json to get the customer count and the customer information from Shopify.
Shopify Support told me to use escaped characters in the timestamp and add the UTC timezone to fetch out the precise data within the timeframe.
I have a store in the UK in GMT Standard Time. Therefore, it should be UTC +00:00.
Please see the URLs below, for example. Both URLs use created_at with the same time range.
However, you can see that these 2 URLs return differently.
Count.json returns 68 customers in the total count, but I can only get the 67 distinct customers from customers.json.
Can anyone shed light on this?
Which API returns the correct result?
https://myshopname.myshopify.com/admin/api/2020-10/customers/count.json?status=any&created_at_min=2022-02-22T00%3A00%3...
There is a similar asking in 2020. See the link below.
The update said Shopify has fixed this problem, but I still see the same issue.