Square: Employees schemas
3 Square schemas with complete fields and constraints.
← Employees operations · All schemas
List Employees — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
cursor | string | Optional | The token to be used to retrieve the next page of results. |
employees | array | Optional | |
employees[] | Model | Each item | Expand Retrieve Employee — response body — employee |
errors | array | Optional | Any errors that occurred during the request. |
errors[] | Model | Each item | Expand Get Shift — response body — errors item |
Referenced models: Retrieve Employee — response body — employee, Get Shift — response body — errors item
Retrieve Employee — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
employee | Model | Optional | Expand Retrieve Employee — response body — employee |
errors | array | Optional | Any errors that occurred during the request. |
errors[] | Model | Each item | Expand Get Shift — response body — errors item |
Referenced models: Retrieve Employee — response body — employee, Get Shift — response body — errors item
Retrieve Employee — response body — employee
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | An employee object that is used by the external API. DEPRECATED at version 2020-08-26. Replaced by [TeamMember](entity:TeamMember). |
created_at | string | Optional | A read-only timestamp in RFC 3339 format. Read only: true |
email | JSON | Optional | |
email (anyOf 1) | string | Alternative | The employee's email address |
email (anyOf 2) | null | Alternative | |
first_name | JSON | Optional | |
first_name (anyOf 1) | string | Alternative | The employee's first name. |
first_name (anyOf 2) | null | Alternative | |
id | string | Optional | UUID for this object. |
is_owner | JSON | Optional | |
is_owner (anyOf 1) | boolean | Alternative | Whether this employee is the owner of the merchant. Each merchant has one owner employee, and that employee has full authority over the account. |
is_owner (anyOf 2) | null | Alternative | |
last_name | JSON | Optional | |
last_name (anyOf 1) | string | Alternative | The employee's last name. |
last_name (anyOf 2) | null | Alternative | |
location_ids | JSON | Optional | |
location_ids (anyOf 1) | array | Alternative | A list of location IDs where this employee has access to. |
location_ids (anyOf 1)[] | string | Each item | |
location_ids (anyOf 2) | null | Alternative | |
phone_number | JSON | Optional | |
phone_number (anyOf 1) | string | Alternative | The employee's phone number in E.164 format, i.e. "+12125554250" |
phone_number (anyOf 2) | null | Alternative | |
status | JSON | Optional | |
status (anyOf 1) | string | Alternative | The status of the Employee being retrieved. DEPRECATED at version 2020-08-26. Replaced by [TeamMemberStatus](entity:TeamMemberStatus). Specifies the status of the employees being fetched. See [EmployeeStatus](#type-employeestatus) for possible values Known values: ACTIVE, INACTIVE |
status (anyOf 2) | null | Alternative | |
updated_at | string | Optional | A read-only timestamp in RFC 3339 format. Read only: true |