Loading...
Was this page helpful?
This documentation provides a reference to the createReservationsWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow creates one or more reservations. It's used by the Create Reservations Admin API Route.
You can use this workflow within your own customizations or custom workflows, allowing you to create reservations in your custom flows.
Source CodeWorkflow hook
Step conditioned by when
View step details
CreateReservationsWorkflowInput
CreateReservationsWorkflowInputreservations
CreateReservationItemInput[]CreateReservationsWorkflowOutput
CreateReservationsWorkflowOutputid
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