Loading...
Was this page helpful?
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.
ReserveVariantInventoryStepInput
ReserveVariantInventoryStepInputitems
object[]ReservationItemDTO[]
ReservationItemDTO[]id
stringlocation_id
stringinventory_item_id
stringquantity
BigNumberInputmetadata
null | Record<string, unknown>created_at
string | Dateupdated_at
string | Datedeleted_at
null | string | Dateline_item_id
null | stringOptionaldescription
null | stringOptionalallow_backorder
booleanOptionalcreated_by
null | stringOptional