Customer API call with Created_at_min is not working

Highlighted
New Member
4 0 0

I am calling the cistomer API with a created_at_min filter but this is not working !!  datetime format is without a space as described in the documentation.   Please advice !!!

 

Test Case = Following url and filter field should get the 2 customers created after the provided datetime.

URL: https://{{apikey}}:{{password}}@{{yourstore}}.myshopify.com/admin/customers.json?created_at_min=2020-06-11T09:39:24+02:00

But its returing empty json array in response:
"{
"customers": []
}"
---------------------
Expected Result:

It should have returned following 2 customers created after => 2020-06-11 09:39:24 (Format: 2020-06-11T09:39:24+02:00 )

1)"id": 3137275133988, "first_name": "Paulus", "last_name": "Kraan", "created_at": "2020-06-11T09:43:43+02:00",
2)"id": 3137329463332, "first_name": "Jan", "last_name": "Willem","created_at": "2020-06-11T10:08:10+02:00",
----------------------

0 Likes
Highlighted
New Member
1 0 0

Hi Mark,

They will check after 2020-06-11T09:39:24+02:00 ==  2020-06-11T11:39:24. I don't know why they are adding timezone difference in it. Try it considering this difference. 

0 Likes