Skip to main content
Skip to main content

deleteReservationItem - Inventory Module Reference

This documentation provides a reference to the deleteReservationItem method. This belongs to the Inventory Module.

This method is used to delete a reservation item or multiple reservation items by their IDs.


import {
initialize as initializeInventoryModule,
} from "@medusajs/inventory"

async function deleteReservationItems (
reservationItemIds: string[]
) {
const inventoryModule = await initializeInventoryModule({})

await inventoryModule.deleteReservationItem(


reservationItemIdstring | string[]Required
The ID(s) of the reservation item(s) to delete.
A context used to share resources, such as transaction manager, between the application and the module.


Resolves when the reservation item(s) are successfully deleted.
Was this section helpful?