Admin API - Searches for customers that match a supplied query- is failing intermittently

New Member
1 0 0

Hi,
Our backend system is making request to search customer using Admin API e.g,

/admin/api/2020-10/customers/search.json?query=email: test@gmail.com
It works but failing intermittently
for example we are getting response: { customers: [] }
I tested same request with POSTMAN and it works. We are making multiple requests in shortspan as we are running campaign and getting good traffic and this intermittent failed request is a real pain for us. Please do let me know if there is any solution to this problem.
Thanks 
 
0 Likes
Shopify Staff
Shopify Staff
39 5 3

@Nick-Techie ,

Happy to help out with this issue.

Could you provide me with the query and the x-request-id from the response headers where you expected results to be returned but none were.

Thanks,

John

John C | Developer Support Specialist @Shopify
0 Likes