cURL
curl --request PATCH \ --url https://api.yuvexpay.com/v1/customers/{customerId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "email": "jsmith@example.com", "document": "<string>", "documentType": "CPF", "phone": "<string>", "isActive": true, "metadata": {} } '
{ "customer": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "email": "<string>", "document": "<string>", "phone": "<string>", "externalId": "<string>", "isActive": true, "createdAt": "2023-11-07T05:31:56Z" }, "message": "<string>" }
Update one or more fields of an existing customer.
API access token obtained from POST /oauth/token. Include as Authorization: Bearer {token}.
Authorization: Bearer {token}
The customer ID.
1 - 200
255
20
CPF
CNPJ
Show child attributes
Customer updated.