Partner API - Change company
This article is part of the Partner API documentation.
Method (POST) to update company data.
| Property | Tipo | Required | Description |
| idEmpresa | text | No | Company ID registered in Demander |
| token | text | No | Partner Token |
| razaoSocial | text | No | |
| ativo | boolean | No | 0 - inactive, 1 - active (defaults to active if omitted) |
| nomeFantasia | text | Não | |
| CNPJ | text | No | Without mask |
| IE | text | No | Without mask |
| endereco | text | Yes | |
| text | Yes | ||
| telefones | text | No | With mask. Ex: (51) 3714-7050 |
| codCidadeIBGE | text | No |
Response:
{ "razaoSocial": "RETTA TECNOLOGIA DA INFORMAÇÂO LTDA", "ativo": 1, "nomeFantasia": "RETTA TECNOLOGIA", "CNPJ": "07.676.543/0001-722", "IE": "ISENTO", "endereco": "R VANDA NEVES FREITAS", "telefones": "(51) 3714-7050", "email": "suporte@retta.com.br", "token": "TOKEN DA EMPRESA", "dataLimiteTeste": "2019-06-28 01:32:14", "id": 100, "statusEmpresa": { "id": 30, "descricao": "Em Produção" }}