Retrieve the item's inventory levels - API - always return NOT FOUND error

coolyx
Shopify Partner
26 3 3

my store is: yxdemo.myshopify.com
when I call retrieve the item's inventory levels API :

GET :  yxdemo.myshopify.com/admin/api/2021-01/inventory_levels.json?inventory_item_ids=39761767432353

Always got NOT FOUND error

But if type the URL in the browser 
I can get correct data.

Please help me out.

thanks in advance.

 

BTW: I am using BasicShopifyAPI for laravel library

 

Shopify Partner
https://www.mojoin.com
Replies 3 (3)
_JCC_
Shopify Staff
Shopify Staff
170 24 32

Hey @coolyx ,

Happy to look into this for you. Can you provide the x-request-id from the response headers for the request that's returning 404 - Not Found.

Regards,

John

John C | 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

coolyx
Shopify Partner
26 3 3

Thanks, I have fixed the issue

Shopify Partner
https://www.mojoin.com
mextest_Admin
Tourist
4 0 0

How did you fix it?

I have the same problem.

Thank you!