This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Updates multiple ribbons.
Each time a ribbon is updated, revision
increments by 1.
The current revision
must be passed when updating a ribbon.
This ensures you're working with the latest ribbon and prevents unintended overwrites.
function bulkUpdateRibbons(
ribbons: Array<MaskedRibbon>,
options: BulkUpdateRibbonsOptions,
): Promise<BulkUpdateRibbonsResponse>;
List of ribbons to update.
import { ribbonsV3 } from "@wix/stores";
async function bulkUpdateRibbons(ribbons, options) {
const response = await ribbonsV3.bulkUpdateRibbons(ribbons, options);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.