Hi,
With the latest release 19.0.0, a new resource (CancelProductOrder) allows cancelling the Product Order. I have some questions on how the API is intended to be used.
Let's say I sent a POST Product Order. At one point, I got those 2 notifications:
1) ProductOrderCreateEvent
2) ProductOrderStateChangeEvent (where the state changed to "inProgress")
Now, customer wants to cancel the order. We receive a POST CancelProductOrder. I assume, we could receive the following 2 notifications:
1) CancelProductOrderCreateEvent
2) CancelProductOrderStateChangeEvent ("acknowledged" -> "inProgress" -> "done")
Question what happens to the ProductOrder?
- Can I assume that ProductOrder will also continue publishing ProductOrderStateChangeEvent, changing states from "inProgress" -> "Assessing Cancellation" -> "Pending Cancellation" -> "Cancelled"?
- Or are those ProductOrder states depricated with the new Resource
------------------------------
Stephane AH-KO
CGI
------------------------------