getOrCreateBrand( )


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

Method Declaration
Copy
Method Parameters
brandNamestringRequired

Brand name to retrieve or create.


optionsGetOrCreateBrandOptions
Returns
Return Type:Promise<GetOrCreateBrandResponse>
Errors

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

Did this help?