Development discussions around Shopify APIs
When using inventory_levels/set.json in production environment I always get StatusCode 404, NotFound.
The same code is working in DEV and TEST.
The request is:
https://<store>.myshopify.com/admin/api/2021-07/inventory_levels/set.json
The body contains:
- inventory_item_id = 43085608222870
- location_id = 65014169750
- available = 0
- disconnect_if_necessary = false
RequestId = 14b81e55-b79c-48d9-9791-2c8789a9ce6f
I can make the same request in Postman which succeeds.
Inventory item and location id's do exist, this is the response from 'inventory_levels.json':
User | RANK |
---|---|
12 | |
6 | |
5 | |
5 | |
5 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022