Trying to use the new inventory-system to make reservations in inventory / backorder, some questions arose.
Premise: In our system, all lineitems in a cart have different SKU's.
Let say I have a cart with 3 items and I made a successfull reservation (Purchase) for it, using lineIndex 0, 1, 2 in the InventoryRequestItem's.
1) The customer now removes the second lineItem (with index 1) from the cart, and at the same time adds another item (new SKU). How would I go about changing the reservation in one go (one InventoryRequest) without cancelling all of the old reservation first and then making a complete new (thereby risking to loose the reservation on items not changed) ?? As every InventoryRequestItem needs an ItemIndex and these are not unique to the line, how would that work ??
I guess it should be possible as it kind of similar to the hotelroom-reservation you use to tell about the new inventory-systems capabilities.
Best regards, Carsten
I think you can ignore the ItemIndex. Just set them to 0 for the cancel request and 1 for the purchase request.