Update a variant's inventory item
One step with Medusa. We can help you get access.
Get something done
Update a variant's inventory item
Works with AI assistantsUse Medusa: its Medusa Products API lets you update a variant's inventory item in a single step (POST /admin/products/{id}/variants/{variant_id}/inventory-items/{inventory_item_id}). Medusa also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I change the quantity on an inventory item that manages a variant?
- Can I edit the inventory details of a product variant?
Say it to your AI assistant
- Update inventory item {inventory_item_id} on variant {variant_id} of product {id} to hold {required_quantity} units.
- Change the stock quantity of product variant {variant_id} on {id} managed by inventory item {inventory_item_id} to {required_quantity}.
For your developer
POST /admin/products/{id}/variants/{variant_id}/inventory-items/{inventory_item_id} in Medusa Products API. Full spec on APIs.io.