Criando um Cliente

Body Params
cc_email
string
E-mail secundário
city
string
REQUIRED
Cidade
complement
string
REQUIRED
Complemento
cpf_cnpj
string
REQUIRED
CPF/CNPJ
email
string
REQUIRED
E-mail principal
full_name
string
REQUIRED
Nome completo
neighborhood
string
REQUIRED
Bairro
notes
string
Observações
number
string
REQUIRED
Número
phone_number
string
REQUIRED
Telefone
postal_code
string
REQUIRED
CEP
state
string
REQUIRED
Estado. Formato MG, SP, RJ
street
string
REQUIRED
Logradouro
type
string
REQUIRED
Natureza jurídica. Valores possíveis: PF ou PJ
Header Params
Authorization
string
REQUIRED
ApiKey [api_key do seller]
Content-Type
string
REQUIRED
application/json

Request
{
            "cc_email": null,
            "city": "Belo Horizonte",
            "complement": "casa",
            "cpf_cnpj": "534.184.176-04",            
            "email": "joao@globo.com",
            "full_name": "João da Silva",            
            "neighborhood": "Caiçara",
            "notes": null,
            "number": "500",
            "phone_number": "31-99888-8352",
            "postal_code": "30775-370",            
            "state": "MG",
            "street": "Rua Antonio Filho",
            "type": "PF"            
}
Response
{
    "id": 748,
    "cc_email": null,
    "city": "Belo Horizonte",
    "complement": "casa",
    "cpf_cnpj": "534.184.176-04",
    "created_at": "2019-08-30T10:23:12.899670",
    "email": "joao@globo.com",
    "full_name": "João da Silva",
    "neighborhood": "Caiçara",
    "notes": "",
    "number": "500",
    "phone_number": "31-99888-8352",
    "postal_code": "30775-370",
    "resource_uri": "/api/v1/customers/748/",
    "state": "MG",
    "street": "Rua Antonio Filho",
    "type": "PF",
    "updated_at": "2019-08-30T10:23:12.899748"
}