GET
/companies/v1/{id}Obtener Compañía
El endpoint /companies/v1/{id} te permite consultar la información de una compañía a través de su id.
Parámetros disponibles
Header Parameters
AuthorizationStringrequired
Path Parameters
idStringrequired
Detalle de respuestas
401
No autorizado
403
Acceso denegado
Ejemplo de código
curl -X GET "https://api.pomelo.la/companies/v1/example_value" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"Ejemplo de respuesta (200)Compañía encontrada
{
"data": {
"id": "cmp-2E5eUyw1ZolEj1Y3NHxnob7bFZe",
"legal_name": "Pomelo SAS",
"trade_name": "Pomelo",
"tax_identification_type": "CNPJ",
"tax_identification_value": "43.856.175/0001-08",
"email": "[email protected]",
"phone": "1123456789",
"operation_country": "ARG",
"type": "MEI",
"status": "ACTIVE",
"legal_address": {
"street_name": "Av. Corrientes",
"street_number": 300,
"floor": 1,
"apartment": "A",
"zip_code": 1414,
"neighborhood": "Villa Crespo",
"city": "CABA",
"region": "Buenos Aires",
"additional_info": "Torre 2",
"country": "ARG"
}
}
}