Skip to content

Commit 1eb66cf

Browse files
committed
docs: add inventory kit conceptual guide
1 parent 6778235 commit 1eb66cf

File tree

28 files changed

+663
-33
lines changed

28 files changed

+663
-33
lines changed

www/apps/resources/app/commerce-modules/inventory/inventory-kit/page.mdx

Lines changed: 415 additions & 0 deletions
Large diffs are not rendered by default.

www/apps/resources/app/commerce-modules/inventory/page.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Learn more about why modules are isolated in [this documentation](!docs!/learn/f
2222
- [Inventory Across Locations](./concepts/page.mdx#inventorylevel): Manage inventory levels across different locations, such as warehouses.
2323
- [Reservation Management](./concepts/page.mdx#reservationitem): Reserve quantities of inventory items at specific locations for orders or other purposes.
2424
- [Check Inventory Availability](/references/inventory-next/confirmInventory): Check whether an inventory item has the necessary quantity for purchase.
25+
- [Inventory Kits](./inventory-kit/page.mdx): Create and manage inventory kits for a single product, allowing you to implement use cases like bundled or multi-part products.
2526

2627
---
2728

www/apps/resources/app/commerce-modules/product/page.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Learn more about why modules are isolated in [this documentation](!docs!/learn/f
2020

2121
- [Products Management](/references/product/models/Product): Store and manage products. Products have custom options, such as color or size, and each variant in the product sets the value for these options.
2222
- [Product Organization](/references/product/models): The Product Module provides different data models used to organize products, including categories, collections, tags, and more.
23+
- [Bundled and Multi-Part Products](../inventory/inventory-kit/page.mdx): Create and manage inventory kits for a single product, allowing you to implement use cases like bundled or multi-part products.
2324

2425
---
2526

www/apps/resources/generated/edit-dates.mjs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const generatedEditDates = {
3030
"app/commerce-modules/inventory/_events/page.mdx": "2024-07-03T19:27:13+03:00",
3131
"app/commerce-modules/inventory/concepts/page.mdx": "2024-10-08T15:11:27.634Z",
3232
"app/commerce-modules/inventory/inventory-in-flows/page.mdx": "2025-01-08T12:21:12.157Z",
33-
"app/commerce-modules/inventory/page.mdx": "2024-12-25T15:55:02.850Z",
33+
"app/commerce-modules/inventory/page.mdx": "2025-01-09T09:28:33.889Z",
3434
"app/commerce-modules/order/_events/_events-table/page.mdx": "2024-07-03T19:27:13+03:00",
3535
"app/commerce-modules/order/_events/page.mdx": "2024-07-03T19:27:13+03:00",
3636
"app/commerce-modules/order/claim/page.mdx": "2024-10-09T10:11:12.090Z",
@@ -64,7 +64,7 @@ export const generatedEditDates = {
6464
"app/commerce-modules/product/_events/page.mdx": "2024-07-03T19:27:13+03:00",
6565
"app/commerce-modules/product/guides/price/page.mdx": "2024-12-25T15:10:37.730Z",
6666
"app/commerce-modules/product/guides/price-with-taxes/page.mdx": "2024-12-25T15:10:40.879Z",
67-
"app/commerce-modules/product/page.mdx": "2024-12-25T15:55:02.850Z",
67+
"app/commerce-modules/product/page.mdx": "2025-01-09T09:29:05.898Z",
6868
"app/commerce-modules/promotion/_events/_events-table/page.mdx": "2024-07-03T19:27:13+03:00",
6969
"app/commerce-modules/promotion/_events/page.mdx": "2024-07-03T19:27:13+03:00",
7070
"app/commerce-modules/promotion/actions/page.mdx": "2024-10-09T14:49:01.645Z",
@@ -5787,5 +5787,6 @@ export const generatedEditDates = {
57875787
"references/types/HttpTypes/interfaces/types.HttpTypes.StoreProductPricingContext/page.mdx": "2025-01-07T12:54:22.026Z",
57885788
"references/types/StockLocationTypes/interfaces/types.StockLocationTypes.FilterableStockLocationAddressProps/page.mdx": "2025-01-07T12:54:23.060Z",
57895789
"references/types/StockLocationTypes/types/types.StockLocationTypes.UpdateStockLocationAddressInput/page.mdx": "2025-01-07T12:54:23.057Z",
5790-
"references/types/StockLocationTypes/types/types.StockLocationTypes.UpsertStockLocationAddressInput/page.mdx": "2025-01-07T12:54:23.058Z"
5790+
"references/types/StockLocationTypes/types/types.StockLocationTypes.UpsertStockLocationAddressInput/page.mdx": "2025-01-07T12:54:23.058Z",
5791+
"app/commerce-modules/inventory/inventory-kit/page.mdx": "2025-01-09T09:39:50.221Z"
57915792
}

www/apps/resources/generated/files-map.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,10 @@ export const filesMap = [
295295
"filePath": "/www/apps/resources/app/commerce-modules/inventory/inventory-in-flows/page.mdx",
296296
"pathname": "/commerce-modules/inventory/inventory-in-flows"
297297
},
298+
{
299+
"filePath": "/www/apps/resources/app/commerce-modules/inventory/inventory-kit/page.mdx",
300+
"pathname": "/commerce-modules/inventory/inventory-kit"
301+
},
298302
{
299303
"filePath": "/www/apps/resources/app/commerce-modules/inventory/links-to-other-modules/page.mdx",
300304
"pathname": "/commerce-modules/inventory/links-to-other-modules"

www/apps/resources/generated/sidebar.mjs

Lines changed: 92 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ export const generatedSidebar = [
644644
"loaded": true,
645645
"isPathHref": true,
646646
"type": "ref",
647-
"title": "Retrieve Customer in Storefront",
647+
"title": "Retrieve Logged-In Customer in Storefront",
648648
"path": "/storefront-development/customers/retrieve",
649649
"children": []
650650
},
@@ -1237,6 +1237,14 @@ export const generatedSidebar = [
12371237
"path": "/references/medusa-workflows/addToCartWorkflow",
12381238
"children": []
12391239
},
1240+
{
1241+
"loaded": true,
1242+
"isPathHref": true,
1243+
"type": "ref",
1244+
"title": "completeCartWorkflow",
1245+
"path": "/references/medusa-workflows/completeCartWorkflow",
1246+
"children": []
1247+
},
12401248
{
12411249
"loaded": true,
12421250
"isPathHref": true,
@@ -2258,7 +2266,7 @@ export const generatedSidebar = [
22582266
"loaded": true,
22592267
"isPathHref": true,
22602268
"type": "ref",
2261-
"title": "Retrieve Customer in Storefront",
2269+
"title": "Retrieve Logged-In Customer in Storefront",
22622270
"path": "/storefront-development/customers/retrieve",
22632271
"children": []
22642272
},
@@ -4261,6 +4269,14 @@ export const generatedSidebar = [
42614269
"title": "Inventory in Flows",
42624270
"children": []
42634271
},
4272+
{
4273+
"loaded": true,
4274+
"isPathHref": true,
4275+
"type": "link",
4276+
"path": "/commerce-modules/inventory/inventory-kit",
4277+
"title": "Inventory Kit",
4278+
"children": []
4279+
},
42644280
{
42654281
"loaded": true,
42664282
"isPathHref": true,
@@ -4308,6 +4324,14 @@ export const generatedSidebar = [
43084324
"path": "/references/medusa-workflows/addToCartWorkflow",
43094325
"children": []
43104326
},
4327+
{
4328+
"loaded": true,
4329+
"isPathHref": true,
4330+
"type": "ref",
4331+
"title": "completeCartWorkflow",
4332+
"path": "/references/medusa-workflows/completeCartWorkflow",
4333+
"children": []
4334+
},
43114335
{
43124336
"loaded": true,
43134337
"isPathHref": true,
@@ -5225,6 +5249,14 @@ export const generatedSidebar = [
52255249
"initialOpen": false,
52265250
"autogenerate_as_ref": true,
52275251
"children": [
5252+
{
5253+
"loaded": true,
5254+
"isPathHref": true,
5255+
"type": "ref",
5256+
"title": "completeCartWorkflow",
5257+
"path": "/references/medusa-workflows/completeCartWorkflow",
5258+
"children": []
5259+
},
52285260
{
52295261
"loaded": true,
52305262
"isPathHref": true,
@@ -5873,6 +5905,14 @@ export const generatedSidebar = [
58735905
"path": "/references/medusa-workflows/refundPaymentWorkflow",
58745906
"children": []
58755907
},
5908+
{
5909+
"loaded": true,
5910+
"isPathHref": true,
5911+
"type": "ref",
5912+
"title": "refundPaymentsWorkflow",
5913+
"path": "/references/medusa-workflows/refundPaymentsWorkflow",
5914+
"children": []
5915+
},
58765916
{
58775917
"loaded": true,
58785918
"isPathHref": true,
@@ -7773,6 +7813,14 @@ export const generatedSidebar = [
77737813
"initialOpen": false,
77747814
"autogenerate_as_ref": true,
77757815
"children": [
7816+
{
7817+
"loaded": true,
7818+
"isPathHref": true,
7819+
"type": "ref",
7820+
"title": "completeCartWorkflow",
7821+
"path": "/references/medusa-workflows/completeCartWorkflow",
7822+
"children": []
7823+
},
77767824
{
77777825
"loaded": true,
77787826
"isPathHref": true,
@@ -7845,6 +7893,14 @@ export const generatedSidebar = [
78457893
"path": "/references/medusa-workflows/refundPaymentWorkflow",
78467894
"children": []
78477895
},
7896+
{
7897+
"loaded": true,
7898+
"isPathHref": true,
7899+
"type": "ref",
7900+
"title": "refundPaymentsWorkflow",
7901+
"path": "/references/medusa-workflows/refundPaymentsWorkflow",
7902+
"children": []
7903+
},
78487904
{
78497905
"loaded": true,
78507906
"isPathHref": true,
@@ -7928,6 +7984,14 @@ export const generatedSidebar = [
79287984
"path": "/references/medusa-workflows/steps/refundPaymentStep",
79297985
"children": []
79307986
},
7987+
{
7988+
"loaded": true,
7989+
"isPathHref": true,
7990+
"type": "ref",
7991+
"title": "refundPaymentsStep",
7992+
"path": "/references/medusa-workflows/steps/refundPaymentsStep",
7993+
"children": []
7994+
},
79317995
{
79327996
"loaded": true,
79337997
"isPathHref": true,
@@ -9407,6 +9471,8 @@ export const generatedSidebar = [
94079471
"type": "category",
94089472
"title": "Concepts",
94099473
"initialOpen": false,
9474+
"autogenerate_tags": "concept+product",
9475+
"autogenerate_as_ref": true,
94109476
"children": [
94119477
{
94129478
"loaded": true,
@@ -9415,6 +9481,14 @@ export const generatedSidebar = [
94159481
"path": "/commerce-modules/product/links-to-other-modules",
94169482
"title": "Links to Other Modules",
94179483
"children": []
9484+
},
9485+
{
9486+
"loaded": true,
9487+
"isPathHref": true,
9488+
"type": "ref",
9489+
"title": "Inventory Kits",
9490+
"path": "/commerce-modules/inventory/inventory-kit",
9491+
"children": []
94189492
}
94199493
]
94209494
},
@@ -13347,6 +13421,14 @@ export const generatedSidebar = [
1334713421
"title": "updateTaxRatesWorkflow",
1334813422
"path": "/references/medusa-workflows/updateTaxRatesWorkflow",
1334913423
"children": []
13424+
},
13425+
{
13426+
"loaded": true,
13427+
"isPathHref": true,
13428+
"type": "ref",
13429+
"title": "updateTaxRegionsWorkflow",
13430+
"path": "/references/medusa-workflows/updateTaxRegionsWorkflow",
13431+
"children": []
1335013432
}
1335113433
]
1335213434
},
@@ -13430,6 +13512,14 @@ export const generatedSidebar = [
1343013512
"title": "updateTaxRatesStep",
1343113513
"path": "/references/medusa-workflows/steps/updateTaxRatesStep",
1343213514
"children": []
13515+
},
13516+
{
13517+
"loaded": true,
13518+
"isPathHref": true,
13519+
"type": "ref",
13520+
"title": "updateTaxRegionsStep",
13521+
"path": "/references/medusa-workflows/steps/updateTaxRegionsStep",
13522+
"children": []
1343313523
}
1343413524
]
1343513525
},

www/apps/resources/sidebars/inventory.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ export const inventorySidebar = [
2828
path: "/commerce-modules/inventory/inventory-in-flows",
2929
title: "Inventory in Flows",
3030
},
31+
{
32+
type: "link",
33+
path: "/commerce-modules/inventory/inventory-kit",
34+
title: "Inventory Kit",
35+
},
3136
{
3237
type: "link",
3338
path: "/commerce-modules/inventory/links-to-other-modules",

www/apps/resources/sidebars/product.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ export const productSidebar = [
1717
type: "category",
1818
title: "Concepts",
1919
initialOpen: false,
20+
autogenerate_tags: "concept+product",
21+
autogenerate_as_ref: true,
2022
children: [
2123
{
2224
type: "link",

www/packages/tags/src/tags/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const auth = [
1616
"path": "/storefront-development/customers/reset-password"
1717
},
1818
{
19-
"title": "Retrieve Customer in Storefront",
19+
"title": "Retrieve Logged-In Customer in Storefront",
2020
"path": "/storefront-development/customers/retrieve"
2121
},
2222
{

www/packages/tags/src/tags/cart.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ export const cart = [
9999
"title": "addToCartWorkflow",
100100
"path": "/references/medusa-workflows/addToCartWorkflow"
101101
},
102+
{
103+
"title": "completeCartWorkflow",
104+
"path": "/references/medusa-workflows/completeCartWorkflow"
105+
},
102106
{
103107
"title": "createCartWorkflow",
104108
"path": "/references/medusa-workflows/createCartWorkflow"

0 commit comments

Comments
 (0)