This method is used purchase a package. It uses the model from "Get Model For Purchase" to collect information from the user that then populates the model to pass to this method. This method will return a status and a conversation ID that can be used to poll the result. If there is a validation error it will be returned immediately otherwise the status method will need to be polled until a terminal state is reached.
Success Response Content
Example JSON:
{
"validationErrors": [],
"result": {
"purchaseResponseBean": {
"status": "IN_PROGRESS",
"conversationId": "ff424226-4258-4af2-839c-932ec28490ca",
"completionCheckUrl": "/store/purchase/status/ff424226-4258-4af2-839c-932ec28490ca"
}
}
}
Field Descriptions
Purchase Request Model