Feat(medusa): handle reservation quantity update for line items (#3484)

**What**
-  Raise exception if a reservation is updated or created to have larger quantity than is unfulfilled for a line-item

Fixes CORE-1249
This commit is contained in:
Philip Korsholm authored and GitHub committed 2023-03-16 09:15:39 +00:00
1 parent 061a600f80
commit 38c8d49f46
6 files changed
+281

No files matched your search

@@ -43,6 +43,8 @@ export interface IInventoryService {
locationId: string
): Promise<InventoryLevelDTO>
retrieveReservationItem(reservationId: string): Promise<ReservationItemDTO>
createReservationItem(
input: CreateReservationItemInput
): Promise<ReservationItemDTO>