Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Atualizar Comprador

Atualiza um buyer por UUID

put
/v2/buyers/{uuid}

Atualiza os dados de um buyer específico com base no UUID fornecido.

Authorizations
X-Token-ApistringRequired
Path parameters
uuidstringRequired

UUID do buyer

Body
namestring · max: 255Optional
emailstring · email · max: 150Optional
countryCodestring · max: 4Optional
phonestring · max: 11OptionalPattern: ^\d{10,11}$
alternativeEmailstring · email · max: 150Optional
Responses
200

Buyer atualizado com sucesso

application/json
uuidstringOptional
documentstringOptional
namestringOptional
countryCodestringOptional
phonestringOptional
emailstringOptional
alternativeEmailstringOptional
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: 257

{
  "name": "text",
  "email": "name@gmail.com",
  "countryCode": "text",
  "phone": "text",
  "alternativeEmail": "name@gmail.com",
  "address": {
    "street": "text",
    "number": "text",
    "complement": "text",
    "district": "text",
    "city": "text",
    "state": "text",
    "country": "text",
    "zipCode": "text"
  }
}
{
  "uuid": "text",
  "document": "text",
  "name": "text",
  "countryCode": "text",
  "phone": "text",
  "email": "text",
  "alternativeEmail": "text"
}

Last updated

Was this helpful?