This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Updates a site's portfolio settings.
You can only call this method when authenticated as a Wix app or Wix user identity.
The portfolio settings to update.
Updated portfolio settings.
curl -X PATCH \
'https://www.wixapis.com/portfolio/v1/settings' \
-H 'Content-Type: application/json' \
-H 'Authorization: <AUTH>' \
-d '{
"portfolioSettings": {
"revision": 2,
"projectItemSettings": {
"addItemDirection": "GALLERY_START",
"defaultItemName": "EMPTY"
},
"mediaSettings": {
"folderId": "42460836-02b9-4640-8d47-2d9fe9aba7e4"
}
}
}'
{
"updatedPortfolioSettings": {
"revision": 2,
"projectItemSettings": {
"addItemDirection": "GALLERY_START",
"defaultItemName": "EMPTY"
},
"mediaSettings": {
"folderId": "42460836-02b9-4640-8d47-2d9fe9aba7e4"
}
"createdDate": "2024-07-31T12:00:00Z",
"updatedDate": "2024-07-31T12:05:00Z"
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.