Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Latest commit

 

History

History
24 lines (19 loc) · 2.34 KB

Shift.md

File metadata and controls

24 lines (19 loc) · 2.34 KB

SquareConnect.Shift

Description

A record of the hourly rate, start, and end times for a single work shift for an employee. May include a record of the start and end times for breaks taken during the shift.

Properties

Name Type Description Notes
id String UUID for this object [optional]
employee_id String The ID of the employee this shift belongs to. DEPRECATED at version 2020-08-26. Use `team_member_id` instead [optional] [deprecated]
location_id String The ID of the location this shift occurred at. Should be based on where the employee clocked in. [optional]
timezone String Read-only convenience value that is calculated from the location based on `location_id`. Format: the IANA Timezone Database identifier for the location timezone. [optional]
start_at String RFC 3339; shifted to location timezone + offset. Precision up to the minute is respected; seconds are truncated.
end_at String RFC 3339; shifted to timezone + offset. Precision up to the minute is respected; seconds are truncated. [optional]
wage ShiftWage Job and pay related information. If wage is not set on create, will default to a wage of zero money. If title is not set on create, will default to the name of the role the employee is assigned to, if any. [optional]
breaks [ModelBreak] A list of any paid or unpaid breaks that were taken during this shift. [optional]
status String Describes working state of the current `Shift`. See ShiftStatus for possible values [optional]
version Number Used for resolving concurrency issues; request will fail if version provided does not match server version at time of request. If not provided, Square executes a blind write; potentially overwriting data from another write. [optional]
created_at String A read-only timestamp in RFC 3339 format; presented in UTC. [optional]
updated_at String A read-only timestamp in RFC 3339 format; presented in UTC. [optional]
team_member_id String The ID of the team member this shift belongs to. Replaced `employee_id` at version "2020-08-26" [optional]