Équipe & Flotte›Mettre à jour un technicien
Mettre à jour un technicien
Met à jour les champs modifiables du profil du technicien. `start_location_type=office` recapture l'adresse + les coordonnées actuelles de l'entreprise (les champs `address`/`start_location_lat`/`start_location_long` du corps sont ignorés ; nécessite des coordonnées d'entreprise, sinon 400 BUSINESS_LOCATION_MISSING). `start_location_type=home` (ou vide) utilise l'adresse + les coordonnées du corps.
Arguments
idstringpathrequis
ID du technicien
▾addressobjectbodyoptionnel
Home address (the day-start point when start_location_type=home).
assignment_tierenumbodyoptionnel
Niveau d'équipe : lead / buddy / float (float = exclu de l'affectation d'équipe automatique).
business_group_idstringbodyrequis
Groupe de rôles. Découvrez les IDs via GET /permission/groups.
emailstringbodyoptionnel
Email address. At least one of phone/email is required.
full_namestringbodyrequis
The person's full display name. Required; max 255 chars.
job_titlestringbodyoptionnel
Intitulé affiché.
join_datestringbodyoptionnel
Premier jour de travail (YYYY-MM-DD).
phonestringbodyoptionnel
Au moins l'un des deux, téléphone/e-mail, est requis.
start_location_latnumberbodyoptionnel
Explicit day-start latitude in decimal degrees (-90..90); when set it wins over the address geocode.
start_location_longnumberbodyoptionnel
Explicit day-start longitude in decimal degrees (-180..180); when set it wins over the address geocode.
start_location_typeenumbodyoptionnel
Point de départ de journée : home ou office ; les coordonnées explicites priment lorsqu'elles sont définies.
PUT/v1/technicians/{id}
curl -X PUT "https://api.crisphive.com/v1/technicians/9b2f6c3e-1a4d-4f0a-8f2e-7c5d1b3a9e01" \ -H "Authorization: Bearer chsk_test_4eC8xQ9mZ2pL7Ka0rT" \ -H "Content-Type: application/json" \ -d '{ "address": { "city": "San Francisco", "country": "US", "formatted": "123 Market Street, San Francisco, CA 94103", "line": "123 Market Street", "line2": "Suite 200", "postal_code": "94103", "state": "CA" }, "assignment_tier": "lead", "business_group_id": "9b2f6c3e-1a4d-4f0a-8f2e-7c5d1b3a9e01", "email": "jane.doe@example.com", "full_name": "Jane Cooper", "job_title": "Sample title", "join_date": "2026-07-02", "phone": "+14155550142", "start_location_lat": 1, "start_location_long": 1, "start_location_type": "home" }'
Corps de la requête
{
"address": {
"city": ,
"country": ,
"formatted": ,
"line": ,
"line2": ,
"postal_code": ,
"state":
},
"assignment_tier": ,
"business_group_id": ,
"email": ,
"full_name": ,
"job_title": ,
"join_date": ,
"phone": ,
"start_location_lat": ,
"start_location_long": ,
"start_location_type":
}
Bearer