curl --location --request PUT '/clinic/' \
--header 'auth-bearer: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "person",
"name": "string",
"image": "string",
"nickname": "string",
"email": "string",
"active": true,
"cellPhone": "string",
"workPhone": "string",
"address": {
"tag": "home",
"zipcode": "string",
"street": "string",
"number": "string",
"complement": "string",
"neighborhood": "string",
"city": "string",
"state": "string",
"country": "string"
},
"identification": "string",
"cnes": "string",
"checkReschedule": true,
"autoTransfer": true,
"attendancePlaces": [
{
"_id": "string",
"name": "string",
"users": [
"string"
],
"insurances": [
"string"
],
"whiteListAutocheckin": true,
"windows": [
{
"name": "string"
}
]
}
],
"insurances": [
{
"insurance": "string",
"address": {
"tag": "home",
"zipcode": "string",
"street": "string",
"number": "string",
"complement": "string",
"neighborhood": "string",
"city": "string",
"state": "string",
"country": "string"
},
"daysToReturn": 0,
"noAttendance": false,
"billingStartDay": "string",
"billingPeriod": "string",
"tissParams": {}
}
],
"note": "string",
"insurancePlans": [
"string"
]
}'