Deletes a brand.
Note: Deleting a brand doesn't modify the products that reference it. The product's brand.id is left unchanged, becomes a dangling reference, and resolves to nothing on read which makes the product appear unbranded. To keep products on a different brand after deletion, reassign each product to the kept brand by calling Update Product (or Bulk Update Products) with product.brand.id set to the kept brand's id before calling Delete Brand. For the full reassign-then-delete pattern, see the brands sample flows.
This method may require higher-level permissions than the caller has, based on their identity and roles and permissions. In these cases, you can ensure the method is called with the required level of authorization by using one of the following:
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.