---
title: "Get Comercial Budgets"
method: GET
path: "/api/admin/comerciales/reassign/comercial/{comercial_id}/budgets"
tags: ["copilot_frontend", "admin", "admin-comerciales", "comerciales-reassign"]
---

# Get Comercial Budgets

`GET /api/admin/comerciales/reassign/comercial/{comercial_id}/budgets`

## Request

- Base URL: `https://api.hogarsolar.es` (the document declares no server; this is the origin it was published from)
- URL: `https://api.hogarsolar.es/api/admin/comerciales/reassign/comercial/{comercial_id}/budgets`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api/docs/api/admin/comerciales/reassign/comercial/:comercial_id/budgets/get.ts> (a function with typed inputs; its response is checked against the schema)

Obtiene la lista de presupuestos de un comercial para el panel de detalle expandible.

**Endpoint Protegido:** Requiere autenticación JWT y rol 'admin'

## Path parameters

- `comercial_id` integer, required

## Response `200`

Successful Response

- ComercialBudgetsResponse: Respuesta con la lista de presupuestos de un comercial.
  - `budgets` ComercialBudgetItem[], required
    - `id` integer, required
    - `cliente_nombre` string, required
    - `cliente_email` string, nullable
    - `negocio_id` integer, nullable
    - `estado_id` integer, nullable
    - `estado` string, required
    - `created_at` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api.md) - [All operations](https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api/revisions/b4cc3cebfaaa?raw)
