- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
updateReservationsStep - Medusa Core Workflows Reference
This documentation provides a reference to the updateReservationsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step updates one or more reservations.
Example#
Input#
UpdateReservationsStepInput
UpdateReservationsStepInputThe data to update reservation items.
UpdateReservationsStepInput
UpdateReservationsStepInputid
stringThe ID of the reservation to update.
id
stringThe reserved quantity.
location_id
stringOptionalThe ID of the associated location.
location_id
stringOptionaldescription
null | stringOptionalThe description of the reservation item.
description
null | stringOptionalallow_backorder
booleanOptionalAllow backorder of the item. If true, it won't check inventory levels before reserving it.
allow_backorder
booleanOptionalmetadata
null | Record<string, unknown>OptionalHolds custom data in key-value pairs.
metadata
null | Record<string, unknown>OptionalOutput#
ReservationItemDTO[]
ReservationItemDTO[]
ReservationItemDTO[]
ReservationItemDTO[]ReservationItemDTO
ReservationItemDTOThe reservation item details.
ReservationItemDTO
ReservationItemDTOWas this page helpful?