Set Inventory Level API - inventory_item_id Required parameter is missing or invalid

NLBrown96
Visitor
3 0 0

I'm trying to set my inventory levels from my ERP;  I'm testing the API call using postman, and getting an error.  My POST takes the form https://x.myshopify.com/admin/api/2024-04/inventory_levels/set.json, with my validation in the header (successful - I can do GETs), and the body is:

{
"location_id": 3083239454,
"inventory_item_id": 47452410052859,
"available": 23
}

The response is:  

{
    "errors": {
        "inventory_item_id""Required parameter missing or invalid"
    }
}
 
If I do a get on my product, the invnetory_item_id provided for the variant I want to set inventory level is indeed what I'm providing in my POST, so I don't understand the error.

 

Replies 0 (0)