API returning wrong count

mayoub
Tourist
7 0 1
Replies 3 (3)

mayoub
Tourist
7 0 1

Customers.json endpoint returns a different amount of customers than customer.json. Some customers are missing entirely. 

Example:

Customers.json missing:

https://ravinintl-dev.myshopify.com/admin/api/2021-10/customers.json?limit=250&ids=4528050962604

But exists in customer.json

https://ravinintl-dev.myshopify.com/admin/api/2021-10/customers/4528050962604.json

mayoub
Tourist
7 0 1

Second link does not refer to the correct URL.

Customer not returned through customer IDs (incorrect behavior):

https://ravinintl-dev.myshopify.com/admin/api/2021-10/customers.json?limit=250&ids=4528050962604

 

Customer returned properly:

https://ravinintl-dev.myshopify.com/admin/api/2021-10/customers/4528050962604.json

mayoub
Tourist
7 0 1

The customers issue was fixed by visiting the customer profile using the Admin Dashboard and updating the customer with the same existing data (refreshing the customer).

The issue with the count remains.