fix(types): add missing inventory_items to input of createProductsWorkflow (#10892)

The `createProductsWorkflow` allows passing an `inventory_items` property to assign the inventory items of a product variant, and we even pass it in the `/admin/products` API route when creating a variant, but the workflow's input type doesn't include that property. This PR adds it to the workflow's input type.
This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-01-10 01:23:29 +00:00
1 parent c490e08142
commit ff725090bb
2 files changed
+20

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/types": patch
---
fix(types): add missing inventory_items to input of createProductsWorkflow