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