Hi.
We want to update the inventory level for a store, but when we use the inventoryLevel to update we get
“Not Found”.
I tried the Adjust as well but it gives the same error. The data is passed using the API from here:
https://github.com/nozzlegear/ShopifySharp
but at the same time, we use the POSTMAN to send the data and is the same error. Here is the image from POSTMAN
Hello @LiavHurvitz ,
While unable to provide insights into the specific library you shared - this is not an official Shopify API library - I was able to test a few API requests in Postman, all were successful.
This type of request would need to follow the correct formatting, as outlined our docs, sending data in the body, and not parameters appended to the endpoint url.
//endpoint
POST https://your-development-store.myshopify.com/admin/api/2022-04/inventory_levels/set.json
//body
{ "location_id":655441491,"inventory_item_id":808950810, "available":42}
Hope this helps - Cheers!