POST

Bulk Update Info Sections


Developer Preview

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.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Stores - all permissions
Manage Products
Manage v3 catalog
Info section write in v3 catalog
Product write in v3 catalog
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/stores/v3/bulk/info-sections/update

Body Params
infoSectionsArray <MaskedInfoSection>RequiredminItems 1maxItems 100

List of info sections to update.


returnEntityboolean

Whether to return the full updated info sections entities in the response.

Default: false


fieldsArray <string>maxItems 100

Fields to include in the response.

Supported values: ASSIGNED_PRODUCTS_COUNT

Response Object
resultsArray <BulkInfoSectionItemResult>minItems 1maxItems 100

Info sections updated by bulk action.


bulkActionMetadataBulkActionMetadata

Bulk action metadata.

Bulk Update Info Sections

Bulk Update Info Sections.

Request
cURL
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 }' \
Response
JSON
{ "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 } }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?