createRibbon( )


Creates a ribbon.

To assign the ribbon to a product, include the ribbon.id or ribbon.name when creating or updating a product.

Method Declaration
Copy
Method Parameters
ribbonRibbonRequired

Ribbon to create.

Returns
Return Type:Promise<Ribbon>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?