createRibbon( )


Developer Preview

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.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Stores - all permissions
Manage Products
Manage v3 catalog
Product write in v3 catalog
Ribbon write in v3 catalog
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
ribbonRibbonRequired

Ribbon to create.

Returns
Return Type:Promise<Ribbon>
Did this help?