Skip to main content
Skip to main content

updateReservationItems - Inventory Next Module Reference

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

updateReservationItems(input, context?): Promise<ReservationItemDTO>

This method updates an existing reservation item.

Example

const reservationItem =
await inventoryModuleService.updateReservationItems({
id: "resitem_123",
quantity: 10,
})

Parameters

The attributes to update in a reservation item.
contextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<ReservationItemDTO>Required
The updated reservation item.

updateReservationItems(input, context?): Promise<ReservationItemDTO[]>

This method updates existing reservation items.

Example

const reservationItems =
await inventoryModuleService.updateReservationItems([
{
id: "resitem_123",
quantity: 10,
},
])

Parameters

The attributes to update in the reservation items.
contextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<ReservationItemDTO[]>Required
The updated reservation items.
Was this section helpful?