Saltar al contenido
Facturador

Ver transportista

GET /api/dispatchers/{dispatcher_id}

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

Devuelve un registro.

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

Errores: 404.

Parámetros

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

Respuestas

200 — Detalle

{
  "success": true,
  "data": {
    "id": 1,
    "identity_document_type_id": "6",
    "number": "20512345678",
    "name": "TRANSPORTES RAPIDOS S.A.C.",
    "address": "AV. ARGENTINA 2450, CALLAO",
    "number_mtc": "1512345CNG",
    "is_default": true,
    "is_active": true
  }
}

404 — No existe

{
  "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.