- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
deleteReservationsByLineItemsStep - Medusa Core Workflows Reference
This documentation provides a reference to the deleteReservationsByLineItemsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step deletes reservations by their associated line items.
1import { createWorkflow } from "@medusajs/framework/workflows-sdk"2import { deleteReservationsByLineItemsStep } from "@medusajs/medusa/core-flows"3 4const myWorkflow = createWorkflow(5 "my-workflow",6 () => {7 const data = deleteReservationsByLineItemsStep([8 "{value}"9 ])10 }11)
Input#
DeleteReservationsByLineItemsStepInput
DeleteReservationsByLineItemsStepInputThe IDs of the line items to delete reservations for.
DeleteReservationsByLineItemsStepInput
DeleteReservationsByLineItemsStepInputDeleteReservationsByLineItemsStepInput
string[]The IDs of the line items to delete reservations for.
DeleteReservationsByLineItemsStepInput
string[]Was this page helpful?