Apps And Solutions
Solution

Add a new version to a solution

1min
POST
/developer/solutions/{solutionId}/versions

Adds a new version to an existing solution. The new version of the solution will be created with the same metadata as the previous version, or parent version if defined, of the solution except for the version number and the lifecycle phase which gets reset to DRAFT. Once a new version is creted, the solutionID remains the same but the version Id will be different. Any new solution attribute updates should be done using the new version Id.

RequiredFieldDescription
YESversionSemantic version of the solution version that is being added.
NOparentVersionSemantic version of the solution version you want to copy from.

Note: The current solution version should be in a READY_TO_PUBLISH state before a new version can be added.

Access: API can be accessed by users who are part of the org which the solution belongs to.

Path Parameters
solutionId
*
Header Parameters
x-developerplatform-access
*
Body Parameters
body
*
version
*
parentVersion
Responses
201
id
*
All Of
SolutionVersionIdentifierDTO +
400
Something is wrong in the request content
error
*
request
*
403
User not authorized on the solution's organization
error
*
request
*
404
Solution not found
error
*
request
*
Curl
JS
Ruby
Python
Responses
201
400
403
404