This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Updates a project item.
You can only call this method when authenticated as a Wix app or Wix user identity.
Project item ID.
The project item to update.
The updated project item.
curl -X PATCH \
'https://www.wixapis.com/portfolio/v1/Items/456e7890-e89b-12d3-a456-426614174001' \
-H 'Authorization: <AUTH>' \
-H 'Content-Type: application/json' \
-d '{
"item": {
"title": "Updated Item Title",
"description": "This is an updated item description.",
"sortOrder": 1.0,
"image": {
"imageInfo": {
"url": "https://example.com/new-image1.jpg",
"id": "9a7eef_afc3d989928f45198a16175e3c7aba3d"
}
},
"link": {
"text": "Visit Updated Site",
"url": "https://example.com/update",
"target": "_blank"
}
}
}'
{
"item": {
"id": "456e7890-e89b-12d3-a456-426614174001",
"projectId": "123e4567-e89b-12d3-a456-426614174000",
"title": "Updated Item Title",
"description": "This is an updated item description.",
"sortOrder": 1.0,
"type": "IMAGE",
"image": {
"imageInfo": {
"url": "https://example.com/new-image1.jpg",
"id": "9a7eef_afc3d989928f45198a16175e3c7aba3d"
}
},
"createdDate": "2024-07-31T12:00:00Z",
"updatedDate": "2024-09-31T12:30:00Z",
"link": {
"text": "Visit Updated Site",
"url": "https://example.com/update",
"target": "_blank"
}
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.