Hi All,
I have some doubt about change offer product order and interaction with product inventory.
Assuming that in inventory I have product with id: 10 and product offering SilverInternet.
The change order will consist with order item with modify action, reference to existing product id: 10 and desire product offering GoldInternet.
Eventually inventory will present product id:10 with product offering GoldInternet but I'm not sure what inventory suppose to show during the order fulfilment.
I presume that as long as order is not completed the GET /productInventory/product/10 returns actual active product i.e. SilverInternet.
On the change order completion the data in product inventory are changed: GoldInternet and connected with it characteristics are saved.
Should that update result productAttributeValueChangeEvent notification only, or maybe it should be sequence similar to product creation i.e. productCreateEvent, productAttributeValueChangeEvent, productStateChangeEvent.
Does TMF has some guidance for such flow or it is implementor choice?
------------------------------
Sebastian Wawrzyniak
Sonalake
------------------------------