# Product's flags, categories, brand and supplier change

URL: https://shoptet.dev/news/api/products-flags-categories-brand-and-supplier-change

March 23, 2021 · One min read
Pavel Husa

We have enhanced [Product update](https://api.docs.shoptet.com/shoptet-api/openapi/products/updateproduct) endpoint to allow changing:

- `categoryGuids` – array of categories the product should be assigned to,
- `flags` – array of objects describing product flags ("action", "new"), eventually also with validity range,
- `brandCode` – brand (manufacturer) of the product
- `supplierGuid` – supplier of the product
In all cases, the referenced entity must exist in the eshop, it will not be created automatically.

The product can be identified by `guid` as well as `code`[Product detail by code](https://api.docs.shoptet.com/shoptet-api/openapi/products/updateproduct) .

**Tags:**
- [API](/news/tags/api/)
