This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves multiple brands by name, or creates multiple brands if those with the passed ribbonNames
don't exist.
function bulkGetOrCreateBrands(
brandNames: Array<string>,
options: BulkGetOrCreateBrandsOptions,
): Promise<BulkGetOrCreateBrandsResponse>;
Brand names to retrieve or create.
import { brandsV3 } from "@wix/stores";
async function bulkGetOrCreateBrands(brandNames, options) {
const response = await brandsV3.bulkGetOrCreateBrands(brandNames, options);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.