- Atendimento
- Funis
- Tag
- Cliente
- Motivos de perda
- Usuários
- Orgãos
- Origens
- Bancos
Atualiza os dados do cliente
Em desenvolvimento
PUT
https://api.crm.corbee.com.br/customer/{id}/from-attendance
Cliente
Requisição
Parâmetros Path
id
integer
requerido
Parâmetros Header
corbee-token-integration
string
requerido
Exemplo:
2f68dbbf-519d-4f01-9636-e2421b68f379
Parâmetros Bodyapplication/json
name
string
requerido
Exemplo:
José Oliveira
document
string
requerido
Exemplo:
987.654.321-00
birth_date
string
opcional
Exemplo:
15/08/1985
sex
enum<string>
opcional
Valores permitidos:
MF
Padrão:
Exemplo:
M
email
string
opcional
cnae
string
opcional
representative_name
string
opcional
representative_cpf
string
opcional
Exemplo
{
"name": "Thor",
"birth_date": "08/10/1994",
"sex": "M",
"document": "86625139050",
"foundation_date": "",
"cnae": "",
"email": "joao@gmail.com",
"mother_name": "",
"father_name": "",
"representative_name": "",
"representative_cpf": "",
"organ_id": 1,
"origin_id": 2,
"address": {
"uf": "PA",
"city": "Ananindeua",
"neighborhood": "Maguari",
"street": "Rua Pantanal",
"number": "67",
"complement": "",
"zipcode": "67145650"
},
"bank_account": {
"bank_id": 1,
"type": "c",
"agency": "5489789",
"account": "54513564"
},
"cards": [
{
"card_name": "Rafael Edson Heitor",
"card_number": "1234123412341234",
"validity": "12/2033",
"is_default": true,
"card_type_id": 1,
"bank_id": 1
}
]
}
Exemplos de Requisiçã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 PUT 'https://api.crm.corbee.com.br/customer//from-attendance' \
--header 'corbee-token-integration: 2f68dbbf-519d-4f01-9636-e2421b68f379' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Thor",
"birth_date": "08/10/1994",
"sex": "M",
"document": "86625139050",
"foundation_date": "",
"cnae": "",
"email": "joao@gmail.com",
"mother_name": "",
"father_name": "",
"representative_name": "",
"representative_cpf": "",
"organ_id": 1,
"origin_id": 2,
"address": {
"uf": "PA",
"city": "Ananindeua",
"neighborhood": "Maguari",
"street": "Rua Pantanal",
"number": "67",
"complement": "",
"zipcode": "67145650"
},
"bank_account": {
"bank_id": 1,
"type": "c",
"agency": "5489789",
"account": "54513564"
},
"cards": [
{
"card_name": "Rafael Edson Heitor",
"card_number": "1234123412341234",
"validity": "12/2033",
"is_default": true,
"card_type_id": 1,
"bank_id": 1
}
]
}'
Respostas
🟢200OK
application/json
Body
message
string
opcional
Exemplo:
Cliente alterado com sucesso!
Examples
{
"message": "Dados alterados com sucesso!"
}
🟠422Erro de parâmetro
Modified at 2025-03-28 17:05:18