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": "jsmith@example.com", "role": "<string>" }'
{ "person_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "first_name": "<string>", "last_name": "<string>", "email": "jsmith@example.com", "role": "<string>" }
Creates a new person for a customer.
API key for authentication
Person input serializer for creating a new person.
Person output serializer for creating a new person.