getOrCreateRibbon( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves a ribbon by name, or creates a ribbon if one with the passed ribbonName doesn't exist.

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
ribbonNamestringRequired

Ribbon name to retrieve or create.


optionsGetOrCreateRibbonOptions
Returns
Return Type:Promise<GetOrCreateRibbonResponse>
Was this helpful?
Yes
No