We are facing an issue while using Shopify API.
If we enumerate Store and Location Objects through the API, then it works fine, But if we enumerate InventoryLevel object then It gives error (422 Unprocessable Entity). We are getting the same results while hitting the API either through Slince PHP Wrapper or through by Postman. We use the same credentials for enumerating Store/Location and InventoryLevel Objects. On Shopify item quantity is positive and we are Tracking the quantity.
Client error: `GET https://yourstore.myshopify.com/admin/api/2019-10/inventory_levels.json?location_id=12345678912` resulted in a `422 Unprocessable Entity` response
Any help will be appreciated. Thanks in advance.
Hey @inceptra ,
If you could provide the value of the X-Request-ID header from the Status 422 Error response, we can investigate through the platform logs why this error is being thrown
Hassain | Developer Support Specialist @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution