Development discussions around Shopify APIs
I am trying to fetch all the orders of a particular customer by using admin/api/2021-10/customers/{customer_id}/orders.json API. I have noticed that for some of the customers it is giving empty list in responses ({"orders": []}). The customer ids that I am using are valid and the customers have placed orders as well (admin/api/2021-07/customers/{customer_id}.json API is giving ids of previous orders made by these customers). This is happening for about half of the customers while for others I am getting correct responses.
Hello @miteshparmar13 ,
If you are still experiencing this issue, can you pass me an x-request-id from your last api interaction? I can take a look to see what might be happening here
Graham S | API 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
User | RANK |
---|---|
52 | |
11 | |
5 | |
5 | |
4 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023