This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Updates a gallery.
You can only call this method when authenticated as a Wix app or Wix user identity.
Gallery ID.
Gallery to update.
Updated gallery.
curl -X PUT \
'https://www.wixapis.com/progallery/v2/galleries/a59d43f0-0023-4ef2-8593-e38d2b668795' \
-H 'Content-Type: application/json' \
-H 'Authorization: <AUTH>' \
-d '{
"gallery": {
"name": "Partially Updated Gallery123"
}
}'
{
"gallery": {
"id": "a59d43f0-0023-4ef2-8593-e38d2b668795",
"name": "Partially Updated Gallery123",
"totalItems": 1,
"items": [
{
"id": "a045b201-ee7d-447c-b0c3-746cba83253c",
"sortOrder": 1644317968.985,
"title": "Some Title",
"description": "Some Description",
"type": "IMAGE",
"image": {
"type": "WIX_MEDIA",
"imageInfo": {
"id": "11062b_12703ed9a6574547bcaed22b1ce44eef~mv2.jpeg",
"url": "https://static.wixstatic.com/media/11062b_12703ed9a6574547bcaed22b1ce44eef~mv2.jpeg",
"height": 4298,
"width": 6446
},
"focalPoint": {
"x": 0.5,
"y": 0.5
}
}
}
],
"createdDate": "2020-08-17T14:33:56.205Z"
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.