Alterar comprador
PUT
https://api.paylogos.com.br/v1/buyers/{buyer_id}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.paylogos.com.br/v1/buyers/' \
--header 'Content-Type: application/json' \
--data-raw '{
"first_name": "string",
"last_name": "string",
"email": "string",
"phone_number": "string",
"birthdate": "string",
"address": {
"line1": "Endereco",
"line2": "999",
"line3": "APT 999",
"neighborhood": "Downtown",
"city": "Cidade",
"state": "UF",
"postal_code": "99999999",
"country_code": "BR"
}
}'
Response Response Example
200 - Exemplo 1
{
"id": "string",
"status": "new",
"resource": "string",
"account_balance": 0,
"current_balance": 0,
"first_name": "string",
"last_name": "string",
"email": "string",
"phone_number": "string",
"taxpayer_id": "string",
"birthdate": "string",
"description": "string",
"address": {
"line1": "string",
"line2": "string",
"line3": "string",
"neighborhood": "string",
"city": "string",
"state": "string",
"postal_code": "string",
"country_code": "string"
},
"delinquent": true,
"default_debit": "string",
"default_credit": "string",
"metadata": {},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
Requisição
Parâmetros Path
buyer_id
string
requerido
Parâmetros Bodyapplication/json
Respostas
Modificado em 2025-06-12 21:03:50