curl --location --request PUT 'https://app.onebear.ai/api/v1/companies//customers/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "string",
"customerType": "string",
"status": "string",
"email": "string",
"phone": "string",
"avatar": "string",
"nationalId": "string",
"taxId": "string",
"addresses": [
{
"id": "string",
"label": "string",
"address": "string",
"subDistrict": "string",
"district": "string",
"province": "string",
"postalCode": "string",
"country": "string",
"isDefault": true,
"note": "string"
}
],
"contactPersons": [
{
"id": "string",
"name": "string",
"role": "string",
"phone": "string",
"email": "string"
}
],
"customFieldValues": {
"property1": "string",
"property2": "string"
},
"interests": [
"string"
],
"source": "string",
"channelIntegrationIds": [
"string"
]
}'