- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
deleteReservationsByLineItemsWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the deleteReservationsByLineItemsWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow deletes reservations by their associated line items.
You can use this workflow within your own customizations or custom workflows, allowing you to delete reservations by their associated line items within your custom flows.
Source CodeExamples#
Steps#
Workflow Hook
Step conditioned by when
Input#
DeleteReservationByLineItemsWorkflowInput
DeleteReservationByLineItemsWorkflowInputThe data to delete reservations by their associated line items.
DeleteReservationByLineItemsWorkflowInput
DeleteReservationByLineItemsWorkflowInputids
string[]The IDs of the line items to delete reservations for.
ids
string[]Was this page helpful?