Skip to content

Square: Employees schemas

3 Square schemas with complete fields and constraints.

← Employees operations · All schemas

List Employees — response body

FieldTypePresenceDescription and constraints
$objectRoot
cursorstringOptionalThe token to be used to retrieve the next page of results.
employeesarrayOptional
employees[]ModelEach itemExpand Retrieve Employee — response body — employee
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Retrieve Employee — response body — employee, Get Shift — response body — errors item

Retrieve Employee — response body

FieldTypePresenceDescription and constraints
$objectRoot
employeeModelOptionalExpand Retrieve Employee — response body — employee
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Retrieve Employee — response body — employee, Get Shift — response body — errors item

Retrieve Employee — response body — employee

FieldTypePresenceDescription and constraints
$objectRootAn employee object that is used by the external API.

DEPRECATED at version 2020-08-26. Replaced by [TeamMember](entity:TeamMember).
created_atstringOptionalA read-only timestamp in RFC 3339 format.
Read only: true
emailJSONOptional
email (anyOf 1)stringAlternativeThe employee's email address
email (anyOf 2)nullAlternative
first_nameJSONOptional
first_name (anyOf 1)stringAlternativeThe employee's first name.
first_name (anyOf 2)nullAlternative
idstringOptionalUUID for this object.
is_ownerJSONOptional
is_owner (anyOf 1)booleanAlternativeWhether 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)nullAlternative
last_nameJSONOptional
last_name (anyOf 1)stringAlternativeThe employee's last name.
last_name (anyOf 2)nullAlternative
location_idsJSONOptional
location_ids (anyOf 1)arrayAlternativeA list of location IDs where this employee has access to.
location_ids (anyOf 1)[]stringEach item
location_ids (anyOf 2)nullAlternative
phone_numberJSONOptional
phone_number (anyOf 1)stringAlternativeThe employee's phone number in E.164 format, i.e. "+12125554250"
phone_number (anyOf 2)nullAlternative
statusJSONOptional
status (anyOf 1)stringAlternativeThe 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)nullAlternative
updated_atstringOptionalA read-only timestamp in RFC 3339 format.
Read only: true

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.