bulkInsertDataItems( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Adds multiple items to a collection.

When each item is inserted into a collection, its ID is automatically assigned a random value. You can optionally provide your own ID when inserting the item. If you specify an ID that already exists in the collection, the insertion will fail.

Authentication

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

Permissions
Write Data Items
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
optionsBulkInsertDataItemsOptions

Options for adding multiple items to a collection.

Returns
Return Type:Promise<BulkInsertDataItemsResponse>
Did this help?