Atualizar Comprador
Atualiza os dados de um buyer específico com base no UUID fornecido.
Authorizations
Path parameters
uuidstringRequired
UUID do buyer
Body
namestring · max: 255OptionalExample:
Testeremailstring · email · max: 150OptionalExample:
[email protected]countryCodestring · max: 4OptionalExample:
+55phonestring · max: 11OptionalExample:
34999991111Pattern: ^\d{10,11}$alternativeEmailstring · email · max: 150OptionalExample:
[email protected]Responses
200
buyer atualizado com sucesso
application/json
400
Requisição inválida
application/json
401
Não autorizado
application/json
403
Acesso proibido
application/json
404
buyer não encontrado
application/json
500
Erro interno do servidor
application/json
put
/v2/buyers/{uuid}PUT /v2/buyers/{uuid} HTTP/1.1
Host: api.barte.com
X-Token-Api: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 313
{
"name": "Tester",
"email": "[email protected]",
"countryCode": "+55",
"phone": "34999991111",
"alternativeEmail": "[email protected]",
"address": {
"street": "Rua Orleans",
"number": "100",
"complement": "Bloco A",
"district": "Jardim Europa",
"city": "Uberlândia",
"state": "Minas Gerais",
"country": "BR",
"zipCode": "38414552"
}
}{
"uuid": "1ee849a4-6bb3-47f0-b32a-293a8f0e811c",
"document": "05212972140",
"name": "Erick Augusto",
"countryCode": "+55",
"phone": "34999991111",
"email": "[email protected]",
"alternativeEmail": "[email protected]"
}Last updated
Was this helpful?

