Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 993 Bytes

retrieve-employee-response.md

File metadata and controls

42 lines (34 loc) · 993 Bytes

Retrieve Employee Response

Structure

Retrieve Employee Response

Fields

Name Type Tags Description
employee Employee Optional An employee object that is used by the external API.

DEPRECATED at version 2020-08-26. Replaced by TeamMember.
errors List Error Optional Any errors that occurred during the request.

Example (as JSON)

{
  "employee": {
    "id": "id8",
    "first_name": "first_name8",
    "last_name": "last_name6",
    "email": "email8",
    "phone_number": "phone_number6"
  },
  "errors": [
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "INVALID_EXPIRATION",
      "detail": "detail6",
      "field": "field4"
    },
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "INVALID_EXPIRATION",
      "detail": "detail6",
      "field": "field4"
    }
  ]
}