Completar los datos de un caso
curl --request PATCH \
--url https://app.mindo.ar/api/v1/cases/{id}/fields \
--header 'Content-Type: application/json' \
--data '
{
"attrs": {
"producto": "Sillón de 3 cuerpos",
"cantidad": "2"
},
"amount": 850000
}
'const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({attrs: {producto: 'Sillón de 3 cuerpos', cantidad: '2'}, amount: 850000})
};
fetch('https://app.mindo.ar/api/v1/cases/{id}/fields', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.mindo.ar/api/v1/cases/{id}/fields"
payload = {
"attrs": {
"producto": "Sillón de 3 cuerpos",
"cantidad": "2"
},
"amount": 850000
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.mindo.ar/api/v1/cases/{id}/fields",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'attrs' => [
'producto' => 'Sillón de 3 cuerpos',
'cantidad' => '2'
],
'amount' => 850000
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"id": "01a11809-7469-741c-9183-2d5abfb2f040",
"conversationId": "01a11809-7124-718f-9140-76e63b646ed7",
"contactId": "01a11809-7055-71ce-a38b-959107993149",
"contactName": "Ana Pérez",
"status": "open",
"openedAt": "2026-10-07T20:23:51.000Z",
"lastInboundAt": "2026-10-07T20:31:02.000Z",
"closedAt": null,
"closeReason": null,
"closedBy": null,
"reasonId": "01a117f0-0b1c-7d2e-8f3a-4b5c6d7e8f90",
"reason": "Comercial",
"subreasonId": "01a117f0-0b1d-7e2f-9a3b-5c6d7e8f9a01",
"subreason": "Consulta de precio",
"reasonSource": "jev",
"reasonStatus": "set",
"reasonConfidence": 0.88,
"reasonSetBy": null,
"reasonSetAt": "2026-10-07T21:01:10.000Z",
"handledBy": "ai",
"agentId": null,
"agentName": "Sofi",
"handedOffAt": null,
"goalAt": null,
"inactivityHours": 72,
"ad": {
"id": "120210000000000001",
"headline": "2x1 en medialunas",
"sourceUrl": "https://fb.me/120210000000000001"
},
"score": 82,
"scoreBucket": "hot",
"scoreDetail": [
{
"question": "¿Dio un plazo para la compra?",
"weight": 20,
"probability": 0.93
}
],
"scoredReason": true,
"outcome": "won",
"outcomeAmount": 15000,
"outcomeCurrency": "ARS",
"outcomeNote": null,
"outcomeSource": "api",
"outcomeBy": null,
"outcomeAt": "2026-10-08T13:12:44.000Z",
"outcomeExternalId": "pedido-1042"
}Pipelines
Completar los datos de un caso
Cambia los valores de los campos del pipeline en un caso y su monto estimado. Solo cambia lo que mandas. Si con los datos nuevos se cumple la regla de una etapa siguiente, el caso avanza solo.
PATCH
/
cases
/
{id}
/
fields
Completar los datos de un caso
curl --request PATCH \
--url https://app.mindo.ar/api/v1/cases/{id}/fields \
--header 'Content-Type: application/json' \
--data '
{
"attrs": {
"producto": "Sillón de 3 cuerpos",
"cantidad": "2"
},
"amount": 850000
}
'const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({attrs: {producto: 'Sillón de 3 cuerpos', cantidad: '2'}, amount: 850000})
};
fetch('https://app.mindo.ar/api/v1/cases/{id}/fields', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.mindo.ar/api/v1/cases/{id}/fields"
payload = {
"attrs": {
"producto": "Sillón de 3 cuerpos",
"cantidad": "2"
},
"amount": 850000
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.mindo.ar/api/v1/cases/{id}/fields",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'attrs' => [
'producto' => 'Sillón de 3 cuerpos',
'cantidad' => '2'
],
'amount' => 850000
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"id": "01a11809-7469-741c-9183-2d5abfb2f040",
"conversationId": "01a11809-7124-718f-9140-76e63b646ed7",
"contactId": "01a11809-7055-71ce-a38b-959107993149",
"contactName": "Ana Pérez",
"status": "open",
"openedAt": "2026-10-07T20:23:51.000Z",
"lastInboundAt": "2026-10-07T20:31:02.000Z",
"closedAt": null,
"closeReason": null,
"closedBy": null,
"reasonId": "01a117f0-0b1c-7d2e-8f3a-4b5c6d7e8f90",
"reason": "Comercial",
"subreasonId": "01a117f0-0b1d-7e2f-9a3b-5c6d7e8f9a01",
"subreason": "Consulta de precio",
"reasonSource": "jev",
"reasonStatus": "set",
"reasonConfidence": 0.88,
"reasonSetBy": null,
"reasonSetAt": "2026-10-07T21:01:10.000Z",
"handledBy": "ai",
"agentId": null,
"agentName": "Sofi",
"handedOffAt": null,
"goalAt": null,
"inactivityHours": 72,
"ad": {
"id": "120210000000000001",
"headline": "2x1 en medialunas",
"sourceUrl": "https://fb.me/120210000000000001"
},
"score": 82,
"scoreBucket": "hot",
"scoreDetail": [
{
"question": "¿Dio un plazo para la compra?",
"weight": 20,
"probability": 0.93
}
],
"scoredReason": true,
"outcome": "won",
"outcomeAmount": 15000,
"outcomeCurrency": "ARS",
"outcomeNote": null,
"outcomeSource": "api",
"outcomeBy": null,
"outcomeAt": "2026-10-08T13:12:44.000Z",
"outcomeExternalId": "pedido-1042"
}Parámetros de ruta
Cuerpo
application/json
Respuesta
El caso con sus datos.
Un caso: una consulta de un cliente dentro de una conversación.
Opciones disponibles:
open, closed Último mensaje del cliente en el caso.
stage: pasó a una etapa final de su pipeline. stale: pasó solo a perdido por días sin respuesta del cliente.
Opciones disponibles:
inactivity, manual, agent_goal, conversation_closed, stage, stale, null Motivo.
Submotivo.
Quién puso el motivo: Jev o una persona del equipo.
Opciones disponibles:
jev, person, null Opciones disponibles:
pending, set, review, error Quién respondió: nadie, solo automatizaciones, un agente IA, el equipo o los dos.
Opciones disponibles:
none, automation, ai, human, mixed Anuncio que trajo al cliente (en los 7 días anteriores a abrir el caso).
Show child attributes
Show child attributes
Puntaje comercial, si el motivo lo lleva.
Rango requerido:
0 <= x <= 100Opciones disponibles:
cold, warm, hot, null Opciones disponibles:
won, lost, null Opciones disponibles:
person, api, null 
