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 authored and GitHub committed 2025-02-03 18:14:45 +02:00
1 parent 016e332e9b
commit 178a7f4216
18 files changed
+218 -44

No files matched your search

+4
View File
@@ -2,5 +2,9 @@ export const concept = [
{
"title": "Inventory Kits",
"path": "/commerce-modules/inventory/inventory-kit"
},
{
"title": "Product Variant Inventory",
"path": "/commerce-modules/product/variant-inventory"
}
]
+25 -25
View File
@@ -1,37 +1,37 @@
export * from "./inventory.js"
export * from "./pricing.js"
export * from "./tax.js"
export * from "./concept.js"
export * from "./storefront.js"
export * from "./query.js"
export * from "./sales-channel.js"
export * from "./tax.js"
export * from "./storefront.js"
export * from "./payment.js"
export * from "./cart.js"
export * from "./order.js"
export * from "./stripe.js"
export * from "./customer.js"
export * from "./cart.js"
export * from "./product.js"
export * from "./server.js"
export * from "./stock-location.js"
export * from "./product-collection.js"
export * from "./fulfillment.js"
export * from "./auth.js"
export * from "./product-category.js"
export * from "./publishable-api-key.js"
export * from "./sales-channel.js"
export * from "./region.js"
export * from "./api-key.js"
export * from "./step.js"
export * from "./workflow.js"
export * from "./product-collection.js"
export * from "./stripe.js"
export * from "./region.js"
export * from "./product-category.js"
export * from "./customer.js"
export * from "./remote-query.js"
export * from "./step.js"
export * from "./link.js"
export * from "./event-bus.js"
export * from "./product.js"
export * from "./locking.js"
export * from "./logger.js"
export * from "./file.js"
export * from "./admin.js"
export * from "./promotion.js"
export * from "./notification.js"
export * from "./user.js"
export * from "./server.js"
export * from "./js-sdk.js"
export * from "./stock-location.js"
export * from "./currency.js"
export * from "./store.js"
export * from "./publishable-api-key.js"
export * from "./event-bus.js"
export * from "./logger.js"
export * from "./promotion.js"
export * from "./user.js"
export * from "./notification.js"
export * from "./js-sdk.js"
export * from "./currency.js"
export * from "./file.js"
export * from "./locking.js"
export * from "./admin.js"
export * from "./workflow.js"
+4
View File
@@ -3,6 +3,10 @@ export const inventory = [
"title": "Inventory Kits",
"path": "/commerce-modules/inventory/inventory-kit"
},
{
"title": "Product Variant Inventory",
"path": "/commerce-modules/product/variant-inventory"
},
{
"title": "Retrieve Product Variant's Inventory in Storefront",
"path": "/storefront-development/products/inventory"
+16
View File
@@ -7,6 +7,14 @@ export const locking = [
"title": "completeCartWorkflow",
"path": "/references/medusa-workflows/completeCartWorkflow"
},
{
"title": "adjustInventoryLevelsStep",
"path": "/references/medusa-workflows/steps/adjustInventoryLevelsStep"
},
{
"title": "cancelOrderFulfillmentWorkflow",
"path": "/references/medusa-workflows/cancelOrderFulfillmentWorkflow"
},
{
"title": "confirmClaimRequestWorkflow",
"path": "/references/medusa-workflows/confirmClaimRequestWorkflow"
@@ -19,6 +27,14 @@ export const locking = [
"title": "confirmOrderEditRequestWorkflow",
"path": "/references/medusa-workflows/confirmOrderEditRequestWorkflow"
},
{
"title": "confirmReturnReceiveWorkflow",
"path": "/references/medusa-workflows/confirmReturnReceiveWorkflow"
},
{
"title": "createOrderFulfillmentWorkflow",
"path": "/references/medusa-workflows/createOrderFulfillmentWorkflow"
},
{
"title": "createReservationsStep",
"path": "/references/medusa-workflows/steps/createReservationsStep"
-4
View File
@@ -135,10 +135,6 @@ export const order = [
"title": "updateOrderChangesStep",
"path": "/references/medusa-workflows/steps/updateOrderChangesStep"
},
{
"title": "updateOrderExchangesStep",
"path": "/references/medusa-workflows/steps/updateOrderExchangesStep"
},
{
"title": "updateOrderShippingMethodsStep",
"path": "/references/medusa-workflows/steps/updateOrderShippingMethodsStep"
@@ -1,4 +1,8 @@
export const salesChannel = [
{
"title": "Product Variant Inventory",
"path": "/commerce-modules/product/variant-inventory"
},
{
"title": "Use a Publishable API Key in the Storefront",
"path": "/storefront-development/publishable-api-keys"
-4
View File
@@ -535,10 +535,6 @@ export const step = [
"title": "updateOrderChangesStep",
"path": "/references/medusa-workflows/steps/updateOrderChangesStep"
},
{
"title": "updateOrderExchangesStep",
"path": "/references/medusa-workflows/steps/updateOrderExchangesStep"
},
{
"title": "updateOrderShippingMethodsStep",
"path": "/references/medusa-workflows/steps/updateOrderShippingMethodsStep"
@@ -3,6 +3,10 @@ export const stockLocation = [
"title": "Inventory Kits",
"path": "/commerce-modules/inventory/inventory-kit"
},
{
"title": "Product Variant Inventory",
"path": "/commerce-modules/product/variant-inventory"
},
{
"title": "createStockLocations",
"path": "/references/medusa-workflows/steps/createStockLocations"