docs: document variant inventory conceptual guide (#11280)

* docs: document variant inventory conceptual guide

* add notes

* fix vale error

* fix vale error
This commit is contained in:
Shahed Nasser
2025-02-03 18:14:45 +02:00
committed by GitHub
parent 016e332e9b
commit 178a7f4216
18 changed files with 218 additions and 44 deletions
@@ -31,6 +31,12 @@ Each product variant has different inventory details. Medusa defines a link betw
A product variant whose `manage_inventory` property is enabled has an associated inventory item. Through that inventory's items relations in the Inventory Module, you can manage and check the variant's inventory quantity.
<Note title="Tip">
Learn more about product variant's inventory management in [this guide](../../product/variant-inventory/page.mdx).
</Note>
### Retrieve with Query
To retrieve the product variants of an inventory item with [Query](!docs!/learn/fundamentals/module-links/query), pass `variants.*` in `fields`: