getOrCreateBrand( )

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 brand by name, or creates a brand if one with the passed brandName 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
Brand write in v3 catalog
Manage v3 catalog
Product write in v3 catalog
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
brandNamestringRequired

Brand name to retrieve or create.


optionsGetOrCreateBrandOptions
Returns
Return Type:Promise<GetOrCreateBrandResponse>
Was this helpful?
Yes
No