v1
latestOpenAPI 3.1.02026-07-242200814.7 KBAdicionar empresa
post/companies
Request body
Response
201
Example response
{
"success": true,
"message": "Created",
"data": [
{
"id": 748,
"account_id": 748,
"cnae_id": 748,
"city_id": 748,
"owner_id": 748,
"manager_id": 748,
"segment_id": 748,
"name": "Teste",
"website": "https://example.org/company",
"email_nf": "adm@odig.net",
"logo": "https://example.org/logo.png",
"hash": "ccef1438a94a1987539f0767bbda403c",
"address_postal_code": "90560-002",
"address": "Av. Cristóvão Colombo, 2948",
"address_number": "12",
"company_name": "odig",
"ie": "473.710.660.535",
"district": "centro",
"country": "Brasil",
"city": {
"id": 1,
"uf": "RO",
"name": "Alta Floresta D'Oeste"
},
"cep": "90560-002",
"customer_at": "2020-02-19",
"foundation_at": "2020-02-19",
"company_type": "1",
"company_status": 1,
"company_situation": 1,
"status_touch": 1,
"nps_score": 11222,
"social_capital": 111111,
"is_brand": true,
"is_supplier": true,
"is_client": true,
"is_carrier": true,
"is_franchise": true,
"lat": 1,
"lng": 1,
"status": 1,
"external_code": 1,
"size": 1,
"contact_emails": {
"id": 1,
"account_id": 748,
"company_id": 748,
"person_id": 748,
"is_main": 1,
"type": "Comercial",
"email": "email@odig.net"
}
}
]
}