Object Index
You are viewing an old version of the API
Shift
Object Index
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 | Description |
---|---|
id
|
UUID for this object |
employee_
Deprecated
|
The ID of the employee this shift belongs to. DEPRECATED at version 2020-08-26. Use |
location_
|
The ID of the location this shift occurred at. Should be based on where the employee clocked in. |
timezone
|
Read-only convenience value that is calculated from the location based
on |
start_
Required
|
RFC 3339; shifted to location timezone + offset. Precision up to the minute is respected; seconds are truncated. |
end_
|
RFC 3339; shifted to timezone + offset. Precision up to the minute is respected; seconds are truncated. |
wage
|
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. |
breaks
|
A list of any paid or unpaid breaks that were taken during this shift. |
status
|
Describes working state of the current |
version
|
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. |
created_
|
Read only A read-only timestamp in RFC 3339 format; presented in UTC. Examples for January 25th, 2020 6:25:34pm Pacific Standard Time: UTC: 2020-01-26T02:25:34Z Pacific Standard Time with UTC offset: 2020-01-25T18:25:34-08:00 |
updated_
|
Read only A read-only timestamp in RFC 3339 format; presented in UTC. Examples for January 25th, 2020 6:25:34pm Pacific Standard Time: UTC: 2020-01-26T02:25:34Z Pacific Standard Time with UTC offset: 2020-01-25T18:25:34-08:00 |
team_
|
The ID of the team member this shift belongs to. Replaced |