This article shares a possible use case your app could support, as well as sample flows that could support this use case. This can be a helpful jumping-off point as you plan your app's implementation.
To create a product and assign a new brand with a single API call:
Call Create Product and pass
a new product.brand.name to the product.brand field.
Note: if you pass the brand.name of a brand you've already created, that brand will be assigned to the product.
The Brands API allows you to create, update, and manage multiple brands. You can then use and reuse these brands and assign them across multiple products.
To create and assign a brand to a product:
brand.id or brand.name from your newly created brand.brand.id or the brand.name to the product.brand field.