Create a person for a customer
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>"
}

Authorizations

X-SALESBRICKS-KEY
string
header
required

API key for authentication

Path Parameters

customer_id
string
required

Body

Person input serializer for creating a new person.

Response

200
application/json

Person output serializer for creating a new person.