Apps And Solutions
Solution

Update solution

1min
PATCH
/developer/solutions/versions/{solutionVersionId}

This endpoint follows JSON Merge Patch standard. This means when setting a field to null, it gets deleted (or reset to default value). Providing a new value overwrites the field. Caution is advised while setting a field, as it can overwrite nested members. For the api field, be extra careful and provide an updated object with all necessary endpoints.

The following table shows the fields in a solution which can be updated and by whom.

FieldUpdates After Tech Review ApprovedDeletable / Resettable to default
displayNameAny org memberNo
shortDescriptionAny org memberNo
longDescriptionAny org memberYes
isConsoleCompatibleProduct admin onlyYes
visibilityProduct admin or Publisher onlyYes
categoriesAny org memberYes
solnUrlsAny org memberYes
apiProduct admin onlyYes

Notes:

  • This endpoint does not support updating the apps on a solution. To edit apps use the endpoint: /developer/solutions/versions/{solutionVersionId}/apps.
  • To delete an array, set the field to null as you would for any field. Setting to [] will return an error.

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

Path Parameters
solutionVersionId
*
Header Parameters
x-developerplatform-access
*
Body Parameters
body
*
displayName
shortDescription
isConsoleCompatible
longDescription
visibility
All Of
SolutionVisibilityDTO +
categories
solnUrls
systemAppSettings
api
All Of
SolutionApiDTO +
productFamily
Responses
200
400
Something is wrong in the request content
error
*
request
*
403
User not authorized on the solution's organization
error
*
request
*
404
Solution version not found
error
*
request
*
Curl
JS
Ruby
Python
Responses
200
400
403
404