What is the difference between "requestedInitialState" and "state" fields on ProductOrder in TMF 622 Open API?
We could see the descriptions of the fields in the user guide, but couldn't see any example mentioning the both. Can this be explained with an example for better understanding?
My understanding is that the requestedInitialState is an input when the order is created, and is invariant subsequently. Suppose, for instance, that we want to create an order but not validate or submit it yet. We could ask for a state called Draft. On the other hand, the state changes as the order goes through its lifecycle changes. So the requestedInitialState is a permanent record of how the order was created in the first place.
Hope it helps.