Skip to content
Light
English

Partner API - Create new company

This article is part of the Partner API documentation.

Method (POST) to create a company.

https://sistema.demander.com.br/public/parceiro/v1/empresas/criar?token={{your token}}

PropertyTipoRequiredDescription
tokentextYesPartner Token
razaoSocialtextYes
ativotextNo0 - inactive, 1 - active (defaults to active if omitted)
nomeFantasiatextYes
CNPJtextYesWithout mask
IEtextYesWithout mask
enderecotextYesFull address: street, number, neighborhood
emailtextYes
telefonestextYesWith mask. Ex: (51) 3714-7050
codCidadeIBGEtextYesCity code according to IBGE

Response: (After creating the company, Demander returns the information below with the token generated for the company):

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