This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Creates a ribbon.
To assign the ribbon to a product, include the ribbon.id
or ribbon.name
when creating or updating a product.
function createRibbon(ribbon: Ribbon): Promise<Ribbon>;
Ribbon to create.
import { ribbonsV3 } from "@wix/stores";
async function createRibbon(ribbon) {
const response = await ribbonsV3.createRibbon(ribbon);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.