¶ Product Brands API
The Brands API manages commercial brand identities associated with products, supporting brand asset logos, active/trashed state management, and catalog filtering.
/v1/inventory/master/brands
¶ Mandatory Headers
| Header |
Type |
Description |
Authorization |
string |
Bearer <token> OAuth2 token. |
x-app-stage |
string |
Current tenant stage (dev, staging, prod). |
x-app-uid |
string |
Authenticated user UUID. |
| Parameter |
Type |
Default |
Description |
companyId |
integer |
Required |
Active operating company ID. |
view |
string |
A |
State: A (Active), I (Inactive), D (Trashed), ALL. |
search |
string |
- |
Case-insensitive filter on brand name. |
¶ 1. List Brands
GET /v1/inventory/master/brands?companyId=1&view=A
{
"success": true,
"message": "Proceso realizado correctamente",
"data": [
{
"id": 14,
"company_id": 1,
"name": "Pilsen Callao",
"description": "Marca cervecera tradicional",
"logo_url": "https://assets.goal.pe/brands/pilsen.png",
"status": "A",
"created_at": "2026-01-01T00:00:00.000Z"
}
]
}
¶ 2. Create Brand
POST /v1/inventory/master/brands?companyId=1
Content-Type: application/json
{
"name": "Cusqueña",
"description": "Línea premium de cervezas maltas y trigos"
}
¶ 3. Update Brand Logo
Upload a brand logo file for display in mobile catalogs and e-commerce portals.
POST /v1/inventory/master/brands/14/update-logo?companyId=1
Content-Type: multipart/form-data
| Field |
Type |
Description |
logo |
file |
Image binary (png, jpg, svg, max 2MB). |
GET /v1/inventory/master/brands/14?companyId=1
PUT /v1/inventory/master/brands/14?companyId=1
DELETE /v1/inventory/master/brands/14?companyId=1
PUT /v1/inventory/master/brands/14/restore?companyId=1
GET /v1/inventory/master/brands/trasheds?companyId=1