Update brand
Updates a previously existing brand.
❗ Although some fields are not required to get a response 200 OK, if you don't send a field or send its value as empty or null, all previously configured information will be deleted, and boolean fields will turn to false. So, to update a product, you should get its data using the Get brand by ID endpoint and use it as a template for the current request body.
Permissions
Any user or API key must have at least one of the appropriate License Manager resources to be able to successfully run this request. Otherwise they will receive a status code 403 error. These are the applicable resources for this endpoint:
| Product | Category | Resource |
|---|---|---|
| Catalog | Content | Brand Management |
There are no applicable predefined roles for this resource list. You must create a custom role and add at least one of the resources above in order to use this endpoint. To learn more about machine authentication at VTEX, see Authentication overview.
❗ To prevent integrations from having excessive permissions, consider the best practices for managing API keys when assigning License Manager roles to integrations.
Path parameters
Brand's unique numerical identifier.
Headers
Type of the content being sent.
HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.
Request body
Example request
{
"Id": 2000003,
"Name": "Adidas",
"Text": "Adidas",
"Keywords": "adidas",
"SiteTitle": "Adidas",
"Score": 10,
"MenuHome": true,
"Active": true,
"LinkId": "adidas-sports"
}Response
OK