Saltar al contenido
Facturador

Ver consignado

GET /api/consigneds/record/{consigned_id}

Autenticación: Bearer del usuario del tenant (Authorization: Bearer <api_token>).

Devuelve un consignado.

Quién puede usarlo: cualquier usuario autenticado (administrador o vendedor).

Formato de respuesta: heredado sin envoltura: devuelve directamente el objeto o arreglo (sin success).

Errores:

  • Si el id no existe responde HTTP 404 con success: false y message Registro no encontrado.

Parámetros

Parámetro Dónde Obligatorio Ejemplo Descripción
consigned_id ruta sí 1

Respuestas

200 — Consignado

{
  "id": 3,
  "identity_document_type_id": "1",
  "number": "45678912",
  "name": "ROSA HUAMAN TORRES",
  "telephone": "987111222",
  "created_at": "2026-11-07T15:15:00.000000Z",
  "updated_at": "2026-11-07T15:15:00.000000Z"
}

404 — Id inexistente

{
  "success": false,
  "message": "Registro no encontrado."
}

Pruébalo

Prueba este endpoint con tu empresa y tu token: elige la URL en Servers, pega el token en Authorize y haz clic en Try it out.