This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Publishes multiple pending drafts at once.
This method publishes each draft independently and supports partial success: if some drafts cannot be published, the remaining ones are still processed. For each item, the response includes an entry in results with success/error details. Use results.itemMetadata.originalIndex to correlate response entries with the request's dataItemIds.
Set returnEntity to true to include the published items in the response.
Notes:
NOT_FOUND is reported in the result when no pending draft exists for a given dataItemId.results matches the order of dataItemIds in the request.You can only call this method when authenticated as a Wix app or Wix user identity.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.