Skip to main content
PUT
/
customers
/
{id}
Atualizar customer
curl --request PUT \
  --url https://api.sandbox.z2pay.com/customers/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "<string>",
  "email": "jsmith@example.com",
  "document": "<string>",
  "documentType": "cpf",
  "phone": "<string>"
}
'

Authorizations

x-api-key
string
header
required

API Key da Credential (gerada no Backoffice)

Path Parameters

id
string
required

ID do customer

Body

application/json
name
string
Minimum string length: 2
email
string<email>
type
enum<string>
Available options:
individual,
company
document
string
Minimum string length: 6
documentType
enum<string>
default:cpf
Available options:
cpf,
cnpj,
passport
phone
string
Minimum string length: 1
address
object

Response

Customer atualizado