initiateOrder

fun initiateOrder(preparedOrder: R): <Error class: unknown class>

Initiates an order phase based on the state of the currentPhase and preparePlan. This api will persist the preparedOrder into repository.

Return

OrderPhase if the action is successful, error otherwise.