This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Updates multiple info sections.
Each time an info section is updated, revision
increments by 1.
The current revision
must be passed when updating an info section.
This ensures you're working with the latest info section and prevents unintended overwrites.
You can only call this method when authenticated as a Wix app or Wix user identity.
List of info sections to update.
Whether to return the full updated info sections entities in the response.
Default: false
Fields to include in the response.
Supported values: ASSIGNED_PRODUCTS_COUNT
Info sections updated by bulk action.
Bulk action metadata.
Bulk Update Info Sections.
curl -X POST \
'https://www.wixapis.com/stores/v3/bulk/info-sections/update' \
-H 'Content-Type: application/json' \
-H 'Authorization: <AUTH>' \
-d '{
"infoSections": [
{
"infoSection": {
"id": "6828c582-550f-44c9-93f0-9b7d29585c96",
"revision": "5",
"title": "New Cups"
}
},
{
"infoSection": {
"id": "a1caf1a5-d23c-4456-bdd8-32c3c65d51e8",
"title": "New Candle",
"revision": "3"
}
}
],
"fields": ["ASSIGNED_PRODUCTS_COUNT"],
"returnEntity": true
}' \
{
"results": [
{
"itemMetadata": {
"id": "6828c582-550f-44c9-93f0-9b7d29585c96",
"originalIndex": 0,
"success": true
},
"item": {
"id": "6828c582-550f-44c9-93f0-9b7d29585c96",
"revision": "6",
"createdDate": "2024-07-03T07:11:15.625Z",
"updatedDate": "2024-07-03T07:57:54.297Z",
"uniqueName": "Series 4 Cup",
"title": "New title",
"assignedProductsCount": 0
}
},
{
"itemMetadata": {
"id": "a1caf1a5-d23c-4456-bdd8-32c3c65d51e8",
"originalIndex": 1,
"success": true
},
"item": {
"id": "a1caf1a5-d23c-4456-bdd8-32c3c65d51e8",
"revision": "4",
"createdDate": "2024-07-03T07:11:15.625Z",
"updatedDate": "2024-07-03T07:57:54.297Z",
"uniqueName": "Candle Series",
"title": "Scented candle",
"assignedProductsCount": 0
}
}
],
"bulkActionMetadata": {
"totalSuccesses": 2,
"totalFailures": 0,
"undetailedFailures": 0
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.