This article shares some potential use cases for your app and provides sample flows for creating, managing, and assigning brands to products effectively. This can be a helpful jumping off point as you plan your app's implementation.
In order to assign a new non-existing brand to new product, you can provide a brand name to Create Product request.
To do this, your app can create a product with Create Product
and assign the brand to the product by passing a new brand.name
:
Note that if a brand with brand.name
already exists, it will assign the existing brand to the product.
In order to assign an existing brand to a product, you need to assign it on Update Product Request.
To do this, your app can follow these steps:
Select an existing brand from the bank to be assigned to the product.
Update a product with Update Product
and assign the brand to the product by passing brand.id
or brand.name
:
Note that a brand can be assigned to a product either by passing brand.name
or by passing brand.id
.
In order to edit an existing brand, you need to edit it with Update Brand Request.
To do this, your app can follow these steps:
Select an existing brand from the bank to be updated.
Use the Id of the selected brand to update the name by calling Update Brand
with brand.id
and the new name:
In order to delete an existing brands, you need to delete it with Bulk Delete Request.
To do this, your app can follow these steps:
Select the IDs of existing brands from the bank to be deleted.
Delete brands with Bulk Delete Brands with list of the brands IDs: