Represents a bulk update request for TeamMember
objects.
BulkUpdateTeamMembersRequest
Name | Type | Tags | Description |
---|---|---|---|
teamMembers |
Record<string, UpdateTeamMemberRequest> |
Required | The data used to update the TeamMember objects. Each key is the team_member_id that maps to the UpdateTeamMemberRequest . |
{
"team_members": {
"AFMwA08kR-MIF-3Vs0OE": {
"team_member": {
"assigned_locations": {
"assignment_type": "ALL_CURRENT_AND_FUTURE_LOCATIONS"
},
"email_address": "[email protected]",
"family_name": "Smith",
"given_name": "Jane",
"is_owner": false,
"phone_number": "+14159223334",
"reference_id": "reference_id_2",
"status": "ACTIVE"
}
},
"fpgteZNMaf0qOK-a4t6P": {
"team_member": {
"assigned_locations": {
"assignment_type": "EXPLICIT_LOCATIONS",
"location_ids": [
"YSGH2WBKG94QZ",
"GA2Y9HSJ8KRYT"
]
},
"email_address": "[email protected]",
"family_name": "Doe",
"given_name": "Joe",
"is_owner": false,
"phone_number": "+14159283333",
"reference_id": "reference_id_1",
"status": "ACTIVE"
}
}
}
}