customers.json return empty array but customers are still in backend

Hi everybody!

 

I"m using this Shopify API to delete customers: https://shopify.dev/docs/admin-api/rest/reference/customers/customer#destroy-2020-04, the response is success, customers.json returns empty array as well. But when I go to admin, the customers still be there.

Has anyone encountered the same issue?

 

Thank you!

Next-Cart Shopping Cart Migration Tool & Service
0 Likes
_JB
Shopify Staff
Shopify Staff
750 87 165

Hey @MartinNguyen,

 

Can you kindly provide the customer_id as well as a rough timeframe for when you made the call? I'll use this to check our logs and find out what happened.

JB | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

0 Likes

Hi @_JB ,

Thank you for getting back to me. I think the problem has been resolved in the latest API version. Now I'm struggling with another error of Shopify Pagination. I have already created the topic here: https://community.shopify.com/c/Shopify-APIs-SDKs/Shopify-Pagination-Error/m-p/885204#M56341. It would be great if you have any suggestions.

Thanks JB!

Next-Cart Shopping Cart Migration Tool & Service
0 Likes