feat(medusa): Add inventory for variants (#2970)
* initial get-inventory impl * add inventory management to create-variant * update create-variant endpoint * move if statement * use middleware for module checking * add endpoint to medusa-js * export return type from get-inventory * add jsdoc * revert create variant * rename variable * initial setInventoryPattern for variant and product endpoints * remove cache * sort imports * add sales channel info to inventory calculations * add missing import * remove promise.all from single promise * update oas * initial feedback * checkout joinLevels from develop * add variant middleware * add comments
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@medusajs/medusa": patch
|
||||
---
|
||||
|
||||
Feat(medusa): Add multi warehouse to create-variant and add list-inventory for variant endpoints
|
||||
Reference in New Issue
Block a user