# Obtener deals Obtén la lista de negociaciones Endpoint: GET /retailers/api/v1/deals Version: 1.0.0 Security: api-key ## Query parameters: - `funnel_name` (string, required) Nombre del embudo Example: "Negociaciones" - `stage` (string, required) Nombre de la etapa Example: "Calificado" - `page` (integer) número de pagina Example: 1 ## Response 200 fields (application/json): - `total` (integer) Example: 2 - `total_page` (integer) Example: 1 - `deals` (array) - `deals.id` (string) Example: "9fb882221" - `deals.name` (string) Example: "Neptu" - `deals.amount` (string) Example: "150000.0" - `deals.currency` (string) Example: "$" - `deals.funnel_name` (string) Example: "Negociaciones" - `deals.stage` (string) Example: "Calificado!" - `deals.agent` (object) - `deals.agent.first_name` (string) Example: "Nicolas" - `deals.agent.last_name` (string) Example: "Mena Garzon" - `deals.agent.email` (string) Example: "nicolas@mercately.com" - `deals.agent.active` (boolean) Example: true - `deals.agent.admin` (boolean) Example: true - `deals.agent.supervisor` (boolean) Example: true - `deals.customer` (object) - `deals.customer.phone` (string) Example: 5933505692996 - `deals.channel` (string,null) ## Response 404 fields (application/json): - `message` (string) Example: "stage not found"