Apps And Solutions
Solution

Update the lifecycle state of a solution

1min
PUT
/developer/solutions/versions/{solutionVersionId}/states

Solution lifecycle phases are the different stages that an solution goes through before it is available for subscription by customers. Solution developers need to submit the solution for review once they are ready to publish it. The solution is then reviewed by the OS1 platform team and approved for publishing. One it is approved for publishing, it goes through the internal/marketplace publish preview process in the marketpalce and put into LIVE phase where it can be subscribed to by customers.

This API can be used to change the lifecycle phase of an solution. The following table shows the different lifecycle phases and the actions that can be performed on them. Immediately after registraion, the solution will be in the default inititial state of DRAFT.

CommandPerformed by
SUBMIT_FOR_TECH_REVIEWDeveloper or Dev admin
DECLINE_TECH_REVIEWProduct Admin
WITHDRAW_FROM_TECH_REVIEWDeveloper or Dev admin
APPROVE_TECH_REVIEWProduct Admin
SUBMIT_FOR_INTERNAL_PUBLISH_REVIEWDeveloper org owner
SUBMIT_FOR_MARKETPLACE_PUBLISH_REVIEWDeveloper org owner
APPROVE_INTERNAL_PUBLISHProduct Admin
APPROVE_MARKETPLACE_PUBLISHProduct Admin
DEPRECIATEProduct Admin

Access: This API can be accessed by users who are part of the organization that owns the solution.

Path Parameters
solutionVersionId
*
Header Parameters
x-developerplatform-access
*
Body Parameters
body
*
action
*
Responses
204
400
Something is wrong with the request such as an incorrect action
error
*
request
*
403
User not authorized on the solution's organization
error
*
request
*
404
Solution version not found by solution version id
error
*
request
*
Curl
JS
Ruby
Python
Responses
204
400
403
404