Update a person for a customer
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>",
  "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
person_id
string
required

Body

Person input serializer for creating a new person.

first_name
string

The first name of the person

last_name
string

The last name of the person

email
string<email>

The email of the person

role
string

The role of the person

Response

Person output serializer for creating a new person.

person_id
string<uuid>
required

The ID of the person

first_name
string
required

The first name of the person

last_name
string
required

The last name of the person

email
string<email>
required

The email of the person

role
string
required

The role of the person