- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
reserveInventoryStep - Medusa Core Workflows Reference
This documentation provides a reference to the reserveInventoryStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step reserves the quantity of line items from the associated variant's inventory.
Example#
Input#
ReserveVariantInventoryStepInput
ReserveVariantInventoryStepInputThe details of the items and their quantity to reserve.
ReserveVariantInventoryStepInput
ReserveVariantInventoryStepInputitems
object[]
items
object[]Output#
ReservationItemDTO[]
ReservationItemDTO[]
ReservationItemDTO[]
ReservationItemDTO[]ReservationItemDTO
ReservationItemDTOThe reservation item details.
ReservationItemDTO
ReservationItemDTOWas this page helpful?