Skip to content

Latest commit

 

History

History
61 lines (52 loc) · 1.44 KB

update-team-member-request.md

File metadata and controls

61 lines (52 loc) · 1.44 KB

Update Team Member Request

Represents an update request for a TeamMember object.

Structure

UpdateTeamMemberRequest

Fields

Name Type Tags Description Getter
TeamMember TeamMember Optional A record representing an individual team member for a business. TeamMember getTeamMember()

Example (as JSON)

{
  "team_member": {
    "assigned_locations": {
      "assignment_type": "EXPLICIT_LOCATIONS",
      "location_ids": [
        "YSGH2WBKG94QZ",
        "GA2Y9HSJ8KRYT"
      ],
      "wage_setting": {
        "is_overtime_exempt": true,
        "job_assignments": [
          {
            "annual_rate": {
              "amount": 3000000,
              "currency": "USD"
            },
            "job_id": "FjS8x95cqHiMenw4f1NAUH4P",
            "pay_type": "SALARY",
            "weekly_hours": 40
          },
          {
            "hourly_rate": {
              "amount": 1200,
              "currency": "USD"
            },
            "job_id": "VDNpRv8da51NU8qZFC5zDWpF",
            "pay_type": "HOURLY"
          }
        ]
      }
    },
    "email_address": "[email protected]",
    "family_name": "Doe",
    "given_name": "Joe",
    "phone_number": "+14159283333",
    "reference_id": "reference_id_1",
    "status": "ACTIVE",
    "id": "id6",
    "is_owner": false
  }
}