Skip to content

Latest commit

 

History

History
50 lines (41 loc) · 1.34 KB

update-team-member-response.md

File metadata and controls

50 lines (41 loc) · 1.34 KB

Update Team Member Response

Represents a response from an update request containing the updated TeamMember object or error messages.

Structure

UpdateTeamMemberResponse

Fields

Name Type Tags Description Getter
TeamMember TeamMember Optional A record representing an individual team member for a business. TeamMember getTeamMember()
Errors List<Error> Optional The errors that occurred during the request. List getErrors()

Example (as JSON)

{
  "team_member": {
    "assigned_locations": {
      "assignment_type": "EXPLICIT_LOCATIONS",
      "location_ids": [
        "GA2Y9HSJ8KRYT",
        "YSGH2WBKG94QZ"
      ]
    },
    "created_at": "2021-06-11T22:55:45Z",
    "email_address": "joe_doe@example.com",
    "family_name": "Doe",
    "given_name": "Joe",
    "id": "1yJlHapkseYnNPETIU1B",
    "is_owner": false,
    "phone_number": "+14159283333",
    "reference_id": "reference_id_1",
    "status": "ACTIVE",
    "updated_at": "2021-06-15T17:38:05Z"
  },
  "errors": [
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "MAP_KEY_LENGTH_TOO_LONG",
      "detail": "detail6",
      "field": "field4"
    }
  ]
}