Sensio API
  1. People
Sensio API
  • Introdução
  • People
    • Buscar pessoas cadastradas
      GET
    • Cadastrar uma nova pessoa
      POST
    • Encontrar pessoa pelo Id
      GET
  • Items
    • Cadastrar um novo item
      POST
    • Retorna uma lista de itens
      GET
    • Retorna um item específico
      GET
    • Editar item
      POST
    • Retorna as composições do item e/ou das variações
      GET
  • POs
    • Retorna todas as ordens de produção
      GET
    • Retorna uma ordem de produção específica
      GET
    • Retorna uma ordem de produção específica buscando pelo código
      GET
    • Alterar estágio de OP
      PUT
    • Retorna estágios de produção
      GET
    • Criar uma OP
      POST
    • Listar estágios do kanban de OPs
      GET
  • Sales
    • Listar pedidos
      GET
    • Retorna todas as vendas
      GET
    • Retorna um pedido específico
      GET
    • Retorna um pedido específico, buscando pelo código
      GET
    • Cadastrar um novo pedido
      POST
    • Cancelar um pedido
      PUT
    • Faturar um pedido
      PUT
    • Editar estágio de um pedido
      PUT
    • Listar estágios do kanban de pedidos
      GET
  • NFes
    • Lista as NFes
    • Retorna uma NFe específica
    • Retorna XML da NFe
    • Retorna DANFE da NFe
  • NFSes
    • Lista Notas Fiscais de Serviço
    • Retorna uma NFSe por id
    • Retorna XML da NFSe
    • Retorna PDF da NFSe
  • Transactions
    • Quitar lançamento financeiro
    • Cadastrar um novo lançamento financeiro
    • Retorna lançamentos paginados
    • Retorna um lançamento específico
  • Item Categories
    • Listar categorias de itens
  • Warehouses
    • Lista os depósitos
  • Custom Fields
    • Listar Campos Personalizados
  • Batches
    • Retorna lotes de um item
    • Listar lotes
  • Webhooks
    • Configurar webhook
  • Services
    • Retorna serviços cadastrados
  • Accounting
    • Retorna contas contábeis
  • CTes
    • Retorna CTes
    • Retorna CTe pelo id
  • Cargos
    • Editar o status de uma carga
    • Criar uma carga
    • Listar cargas
    • Retorna uma carga por id
  • Inventory
    • Movimentar estoque
  • Tags
    • Listar Tags
  1. People

Cadastrar uma nova pessoa

POST
/people
Pessoas no Sensio podem ser clientes, fornecedores, vendedores, etc. Com esse endpoint você pode cadastrar uma nova pessoa. É obrigatório o nome

Requisição

Parâmetros Bodyapplication/json

Exemplo
{
    "_id": "string",
    "name": "Luiz",
    "razao": "string",
    "cnpj": "string",
    "cpf": "string",
    "rg": "string",
    "inscricao": "string",
    "inscricaoMunicipal": "string",
    "icmsCont": "Contribuinte",
    "cnae": "string",
    "type": [
        "Cliente"
    ],
    "code": "string",
    "nature": "Jurídica",
    "suframa": "string",
    "address": {
        "street": "string",
        "number": "string",
        "complement": "string",
        "neighborhood": "string",
        "cep": "string",
        "city": "string",
        "uf": "string",
        "cMun": "string",
        "country": "string"
    },
    "email": "string",
    "extraAddresses": [
        {
            "addressType": "Endereço Secundário",
            "street": "string",
            "number": "string",
            "complement": "string",
            "neighborhood": "string",
            "cep": "string",
            "city": "string",
            "uf": "string",
            "cMun": "string",
            "country": "string",
            "details": "string",
            "default": true
        }
    ],
    "phone": "string",
    "cellphone": "string",
    "bank": "string",
    "accountNumber": "string",
    "accountDigit": "string",
    "account": "string",
    "pix": "string",
    "agency": "string",
    "agencyDigit": "string",
    "taxManagement": "LR",
    "paymentConditionDefault": "string",
    "paymentMethodDefault": "string",
    "carrierDefault": "string",
    "details": "string",
    "modFrete": "0",
    "purchaseAccount": "string",
    "buyPurchaseAccount": "string",
    "extraContacts": [
        {
            "name": "string",
            "phone": "string",
            "email": "string",
            "details": "string",
            "isSendInvoince": true,
            "isSendNFe": true,
            "isSendOrder": true
        }
    ],
    "social": {
        "website": "string",
        "facebook": "string",
        "twitter": "string",
        "linkedin": "string",
        "instagram": "string",
        "youtube": "string"
    },
    "integrations": [
        {
            "name": "string",
            "id": "string"
        }
    ]
}

Códigos de solicitação

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/people' \
--header 'Content-Type: application/json' \
--data-raw '{
    "_id": "string",
    "name": "Luiz",
    "razao": "string",
    "cnpj": "string",
    "cpf": "string",
    "rg": "string",
    "inscricao": "string",
    "inscricaoMunicipal": "string",
    "icmsCont": "Contribuinte",
    "cnae": "string",
    "type": [
        "Cliente"
    ],
    "code": "string",
    "nature": "Jurídica",
    "suframa": "string",
    "address": {
        "street": "string",
        "number": "string",
        "complement": "string",
        "neighborhood": "string",
        "cep": "string",
        "city": "string",
        "uf": "string",
        "cMun": "string",
        "country": "string"
    },
    "email": "string",
    "extraAddresses": [
        {
            "addressType": "Endereço Secundário",
            "street": "string",
            "number": "string",
            "complement": "string",
            "neighborhood": "string",
            "cep": "string",
            "city": "string",
            "uf": "string",
            "cMun": "string",
            "country": "string",
            "details": "string",
            "default": true
        }
    ],
    "phone": "string",
    "cellphone": "string",
    "bank": "string",
    "accountNumber": "string",
    "accountDigit": "string",
    "account": "string",
    "pix": "string",
    "agency": "string",
    "agencyDigit": "string",
    "taxManagement": "LR",
    "paymentConditionDefault": "string",
    "paymentMethodDefault": "string",
    "carrierDefault": "string",
    "details": "string",
    "modFrete": "0",
    "purchaseAccount": "string",
    "buyPurchaseAccount": "string",
    "extraContacts": [
        {
            "name": "string",
            "phone": "string",
            "email": "string",
            "details": "string",
            "isSendInvoince": true,
            "isSendNFe": true,
            "isSendOrder": true
        }
    ],
    "social": {
        "website": "string",
        "facebook": "string",
        "twitter": "string",
        "linkedin": "string",
        "instagram": "string",
        "youtube": "string"
    },
    "integrations": [
        {
            "name": "string",
            "id": "string"
        }
    ]
}'

Respostas

🟢201Created
application/json
Sucesso
Body

Exemplo
{
    "_id": "string",
    "name": "Luiz",
    "razao": "string",
    "cnpj": "string",
    "cpf": "string",
    "rg": "string",
    "inscricao": "string",
    "inscricaoMunicipal": "string",
    "icmsCont": "Contribuinte",
    "cnae": "string",
    "type": [
        "Cliente"
    ],
    "code": "string",
    "nature": "Jurídica",
    "suframa": "string",
    "address": {
        "street": "string",
        "number": "string",
        "complement": "string",
        "neighborhood": "string",
        "cep": "string",
        "city": "string",
        "uf": "string",
        "cMun": "string",
        "country": "string"
    },
    "email": "string",
    "extraAddresses": [
        {
            "addressType": "Endereço Secundário",
            "street": "string",
            "number": "string",
            "complement": "string",
            "neighborhood": "string",
            "cep": "string",
            "city": "string",
            "uf": "string",
            "cMun": "string",
            "country": "string",
            "details": "string",
            "default": true
        }
    ],
    "phone": "string",
    "cellphone": "string",
    "bank": "string",
    "accountNumber": "string",
    "accountDigit": "string",
    "account": "string",
    "pix": "string",
    "agency": "string",
    "agencyDigit": "string",
    "taxManagement": "LR",
    "paymentConditionDefault": "string",
    "paymentMethodDefault": "string",
    "carrierDefault": "string",
    "details": "string",
    "modFrete": "0",
    "purchaseAccount": "string",
    "buyPurchaseAccount": "string",
    "extraContacts": [
        {
            "name": "string",
            "phone": "string",
            "email": "string",
            "details": "string",
            "isSendInvoince": true,
            "isSendNFe": true,
            "isSendOrder": true
        }
    ],
    "social": {
        "website": "string",
        "facebook": "string",
        "twitter": "string",
        "linkedin": "string",
        "instagram": "string",
        "youtube": "string"
    },
    "integrations": [
        {
            "name": "string",
            "id": "string"
        }
    ]
}
Modificado em 2025-01-18 14:46:41
Página anterior
Buscar pessoas cadastradas
Próxima página
Encontrar pessoa pelo Id
Built with