This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Approves one or more previously submitted compliance review requests.
Approving applies each request's action to the underlying CMS data item and sets the item's
requestReviewStatus to APPROVED. Specify prodCollectionId and the compliance review requests
returned by Request Review
or Bulk Request Review.
All the items belong to the collection specified by prodCollectionId.
Each item is resolved on its own action. PUBLISH_DRAFT and PUBLISH_CHANGED items are published
from their draft, PUBLISH_PUBLISHED items are already live so only their status is set, and
UNPUBLISH_PUBLISHED and UNPUBLISH_CHANGED items are unpublished. A single call can combine publish
and unpublish items. Each UNPUBLISH_CHANGED item must specify its own versionOnUnpublish, or the
call fails with INVALID_VERSION_ON_UNPUBLISH.
Every item must still exist in the collection version its action requires. If any item is missing, the
whole call fails with DATA_ITEMS_NOT_FOUND and nothing is published, unpublished, or updated.
Publishing, unpublishing, and the status update each resolve per item, so individual items can fail
while the rest succeed. Read publishResult, unpublishResult, and statusUpdateResults for the
outcome of each item. The status is set before publishing but after unpublishing, so a PUBLISH_*
item can be APPROVED without having been published, while an UNPUBLISH_* item is set to
APPROVED only once it was unpublished. Read the content results, not the status, to confirm what
actually changed.
To reject review requests instead, call Bulk Reject Request Review.
There are 3 errors with this status code.
There is 1 error with this status code.
There is 1 error with this status code.
There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.