I’m trying to update the stock levels on Shopify via an API call, but I keep getting a “Not Found” error. I’ve followed the Shopify documentation, but I can’t figure out what’s wrong.
Here’s my cURL request:
curl --location 'https://testcheckout.steamery.us/admin/api/2024-10/inventory_levels/set.json' \
--header 'X-Shopify-Access-Token: secret-token' \
--header 'Content-Type: application/json' \
--data '{
"inventory_item_id": 50783955747148,
"location_id": 4444445555,
"available": 10
}'
Could anyone help me troubleshoot this? Thanks in advance!