cURL
curl --request PATCH \ --url https://api.salesbricks.com/api/v2/customers/{customer_id}/persons/{person_id} \ --header 'Content-Type: application/json' \ --header 'X-SALESBRICKS-KEY: <api-key>' \ --data ' { "first_name": "<string>", "last_name": "<string>", "preferred_name": "<string>", "email": "[email protected]", "role": "<string>" } '
{ "person_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "first_name": "<string>", "last_name": "<string>", "email": "[email protected]", "role": "<string>", "preferred_name": "<string>" }
Updates a person for a customer.
API key for authentication
The ID of the customer to update.
The ID of the person to update.
Person input serializer for creating a new person.
The first name of the person
The last name of the person
Optional preferred name for the person
The email of the person
The role of the person
Person output serializer for creating a new person.
The ID of the person
255