This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Updates specified properties of a collection. To add products to a collection, call the Add Products to Collection endpoint.
You can only call this method when authenticated as a Wix app or Wix user identity.
Collection ID (generated automatically by the catalog).
Collection info.
Updated collection.
curl -X PATCH \
'https://www.wixapis.com/stores/v1/collections/81093e7d-a251-4a22-a238-df3aa816f3dc' \
--data-binary '{
"collection": {
"name": "Updated name"
}
}' \
-H 'Content-Type: application/json' \
-H 'Authorization: <AUTH>'
{
"collection": {
"id": "81093e7d-a251-4a22-a238-df3aa816f3dc",
"name": "Updated name",
"media": {
"items": []
}
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.