Skip to content

Square: Labor schemas

75 Square schemas with complete fields and constraints.

← Labor operations · All schemas

Bulk Publish Scheduled Shifts — request body — body

FieldTypePresenceDescription and constraints
$objectRootRepresents a [BulkPublishScheduledShifts](api-endpoint:Labor-BulkPublishScheduledShifts) request.
scheduled_shift_notification_audienceJSONOptional
scheduled_shift_notification_audience (anyOf 1)stringAlternativeIndicates whether Square sends an email notification to team members
when a scheduled shift is published and which team members receive the notification.
Indicates whether Square should send email notifications to team members and
which team members should receive the notifications. This setting applies to all shifts
specified in the bulk operation. The default value is `AFFECTED`.
See [ScheduledShiftNotificationAudience](#type-scheduledshiftnotificationaudience) for possible values
One of: ALL, AFFECTED, NONE
scheduled_shift_notification_audience (anyOf 2)nullAlternative
scheduled_shiftsobjectRequired within parentA map of 1 to 100 key-value pairs that represent individual publish requests.

- Each key is the ID of a scheduled shift you want to publish.
- Each value is a `BulkPublishScheduledShiftsData` object that contains the
`version` field or is an empty object.
Additional keys: see wildcard field
scheduled_shifts.*ModelAdditional keysExpand Bulk Publish Scheduled Shifts — request body — body scheduled shifts value

Referenced models: Bulk Publish Scheduled Shifts — request body — body scheduled shifts value

Bulk Publish Scheduled Shifts — request body — body scheduled shifts value

FieldTypePresenceDescription and constraints
$objectRootRepresents options for an individual publish request in a
[BulkPublishScheduledShifts](api-endpoint:Labor-BulkPublishScheduledShifts)
operation, provided as the value in a key-value pair.
versionintegerOptionalThe current version of the scheduled shift, used to enable [optimistic concurrency](https://developer.squareup.com/docs/build-basics/common-api-patterns/optimistic-concurrency)
control. If the provided version doesn't match the server version, the request fails.
If omitted, Square executes a blind write, potentially overwriting data from another publish request.

Bulk Publish Scheduled Shifts — response body

FieldTypePresenceDescription and constraints
$objectRootRepresents a [BulkPublishScheduledShifts](api-endpoint:Labor-BulkPublishScheduledShifts) response.
Either `scheduled_shifts` or `errors` is present in the response.
errorsarrayOptionalAny top-level errors that prevented the bulk operation from succeeding.
errors[]ModelEach itemExpand Get Shift — response body — errors item
responsesobjectOptionalA map of key-value pairs that represent responses for individual publish requests.
The order of responses might differ from the order in which the requests were provided.

- Each key is the scheduled shift ID that was specified for a publish request.
- Each value is the corresponding response. If the request succeeds, the value is the
published scheduled shift. If the request fails, the value is an `errors` array containing
any errors that occurred while processing the request.
Additional keys: see wildcard field
responses.*ModelAdditional keysExpand Publish Scheduled Shift — response body

Referenced models: Get Shift — response body — errors item, Publish Scheduled Shift — response body

Create Break Type — request body — body

FieldTypePresenceDescription and constraints
$objectRootA request to create a new `BreakType`.
break_typeModelRequired within parentExpand Create Break Type — request body — body break type
The `BreakType` to be created.
idempotency_keystringOptionalA unique string value to ensure the idempotency of the operation.
Maximum length: 128

Referenced models: Create Break Type — request body — body break type

Create Break Type — request body — body break type

FieldTypePresenceDescription and constraints
$objectRootA template for a type of [break](entity:Break) that can be added to a
[timecard](entity:Timecard), including the expected duration and paid status.
break_namestringRequired within parentA human-readable name for this type of break. The name is displayed to
team members in Square products.
Minimum length: 1
created_atstringOptionalA read-only timestamp in RFC 3339 format.
Read only: true
expected_durationstringRequired within parentFormat: RFC-3339 P[n]Y[n]M[n]DT[n]H[n]M[n]S. The expected length of
this break. Precision less than minutes is truncated.

Example for break expected duration of 15 minutes: PT15M
Minimum length: 1
idstringOptionalThe UUID for this object.
Maximum length: 255
is_paidbooleanRequired within parentWhether this break counts towards time worked for compensation
purposes.
location_idstringRequired within parentThe ID of the business location this type of break applies to.
Minimum length: 1
updated_atstringOptionalA read-only timestamp in RFC 3339 format.
Read only: true
versionintegerOptionalUsed for resolving concurrency issues. The request fails if the version
provided does not match the server version at the time of the request. If a value is not
provided, Square's servers execute a "blind" write; potentially
overwriting another writer's data.

Create Break Type — response body

FieldTypePresenceDescription and constraints
$objectRootThe response to the request to create a `BreakType`. The response contains
the created `BreakType` object and might contain a set of `Error` objects if
the request resulted in errors.
break_typeModelOptionalExpand Get Break Type — response body — break type
The `BreakType` that was created by the request.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Get Break Type — response body — break type, Get Shift — response body — errors item

Create Scheduled Shift — request body — body

FieldTypePresenceDescription and constraints
$objectRootRepresents a [CreateScheduledShift](api-endpoint:Labor-CreateScheduledShift) request.
idempotency_keystringOptionalA unique identifier for the `CreateScheduledShift` request, used to ensure the
[idempotency](https://developer.squareup.com/docs/build-basics/common-api-patterns/idempotency)
of the operation.
Maximum length: 128
scheduled_shiftModelRequired within parentExpand Create Scheduled Shift — request body — body scheduled shift
The scheduled shift with `draft_shift_details`.
If needed, call [ListLocations](api-endpoint:Locations-ListLocations) to get location IDs,
[ListJobs](api-endpoint:Team-ListJobs) to get job IDs, and [SearchTeamMembers](api-endpoint:Team-SearchTeamMembers)
to get team member IDs and current job assignments.

The `start_at` and `end_at` timestamps must be provided in the time zone + offset of the
shift location specified in `location_id`. Example for Pacific Standard Time: 2024-10-31T12:30:00-08:00

Referenced models: Create Scheduled Shift — request body — body scheduled shift

Create Scheduled Shift — request body — body scheduled shift

FieldTypePresenceDescription and constraints
$objectRootRepresents a specific time slot in a work schedule. This object is used to manage the
lifecycle of a scheduled shift from the draft to published state. A scheduled shift contains
the latest draft shift details and current published shift details.
created_atstringOptionalThe timestamp of when the scheduled shift was created, in RFC 3339 format presented as UTC.
Read only: true
draft_shift_detailsJSONOptional
draft_shift_details (anyOf 1)ModelAlternativeExpand Create Scheduled Shift — response body — scheduled shift published shift details
The latest draft shift details for the scheduled shift. Draft shift details are used to
stage and manage shifts before publishing. This field is always present.
draft_shift_details (anyOf 2)nullAlternative
idstringOptional**Read only** The Square-issued ID of the scheduled shift.
Maximum length: 255
published_shift_detailsModelOptionalExpand Create Scheduled Shift — response body — scheduled shift published shift details
The current published (public) shift details for the scheduled shift. This field is
present only if the shift was published.
Read only: true
updated_atstringOptionalThe timestamp of when the scheduled shift was last updated, in RFC 3339 format presented as UTC.
Read only: true
versionintegerOptional**Read only** The current version of the scheduled shift, which is incremented with each update.
This field is used for [optimistic concurrency](https://developer.squareup.com/docs/build-basics/common-api-patterns/optimistic-concurrency)
control to ensure that requests don't overwrite data from another request.

Referenced models: Create Scheduled Shift — response body — scheduled shift published shift details

Create Scheduled Shift — response body

FieldTypePresenceDescription and constraints
$objectRootRepresents a [CreateScheduledShift](api-endpoint:Labor-CreateScheduledShift) response.
Either `scheduled_shift` or `errors` is present in the response.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
scheduled_shiftModelOptionalExpand Create Scheduled Shift — response body — scheduled shift
The new scheduled shift. To make the shift public, call
[PublishScheduledShift](api-endpoint:Labor-PublishScheduledShift) or
[BulkPublishScheduledShifts](api-endpoint:Labor-BulkPublishScheduledShifts).

Referenced models: Get Shift — response body — errors item, Create Scheduled Shift — response body — scheduled shift

Create Scheduled Shift — response body — scheduled shift

FieldTypePresenceDescription and constraints
$objectRootRepresents a specific time slot in a work schedule. This object is used to manage the
lifecycle of a scheduled shift from the draft to published state. A scheduled shift contains
the latest draft shift details and current published shift details.
created_atstringOptionalThe timestamp of when the scheduled shift was created, in RFC 3339 format presented as UTC.
Read only: true
draft_shift_detailsJSONOptional
draft_shift_details (anyOf 1)ModelAlternativeExpand Create Scheduled Shift — response body — scheduled shift published shift details
The latest draft shift details for the scheduled shift. Draft shift details are used to
stage and manage shifts before publishing. This field is always present.
draft_shift_details (anyOf 2)nullAlternative
idstringOptional**Read only** The Square-issued ID of the scheduled shift.
Maximum length: 255
published_shift_detailsModelOptionalExpand Create Scheduled Shift — response body — scheduled shift published shift details
The current published (public) shift details for the scheduled shift. This field is
present only if the shift was published.
Read only: true
updated_atstringOptionalThe timestamp of when the scheduled shift was last updated, in RFC 3339 format presented as UTC.
Read only: true
versionJSONOptional
version (anyOf 1)integerAlternative**Read only** The current version of the scheduled shift, which is incremented with each update.
This field is used for [optimistic concurrency](https://developer.squareup.com/docs/build-basics/common-api-patterns/optimistic-concurrency)
control to ensure that requests don't overwrite data from another request.
version (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Create Scheduled Shift — response body — scheduled shift published shift details

Create Scheduled Shift — response body — scheduled shift published shift details

FieldTypePresenceDescription and constraints
$objectRootRepresents shift details for draft and published versions of a [scheduled shift](entity:ScheduledShift),
such as job ID, team member assignment, and start and end times.
end_atJSONOptional
end_at (anyOf 1)stringAlternativeThe end time for the shift, in RFC 3339 format in the time zone +
offset of the shift location specified in `location_id`. Precision up to the minute
is respected; seconds are truncated.
end_at (anyOf 2)nullAlternative
is_deletedJSONOptional
is_deleted (anyOf 1)booleanAlternativeIndicates whether the draft shift version is deleted. If set to `true` when the shift
is published, the entire scheduled shift (including the published shift) is deleted and
cannot be accessed using any endpoint.
is_deleted (anyOf 2)nullAlternative
job_idJSONOptional
job_id (anyOf 1)stringAlternativeThe ID of the [job](entity:Job) the shift is scheduled for.
job_id (anyOf 2)nullAlternative
location_idJSONOptional
location_id (anyOf 1)stringAlternativeThe ID of the [location](entity:Location) the shift is scheduled for.
Maximum length: 255
location_id (anyOf 2)nullAlternative
notesJSONOptional
notes (anyOf 1)stringAlternativeOptional notes for the shift.
Maximum length: 1000
notes (anyOf 2)nullAlternative
start_atJSONOptional
start_at (anyOf 1)stringAlternativeThe start time of the shift, in RFC 3339 format in the time zone +
offset of the shift location specified in `location_id`. Precision up to the minute
is respected; seconds are truncated.
start_at (anyOf 2)nullAlternative
team_member_idJSONOptional
team_member_id (anyOf 1)stringAlternativeThe ID of the [team member](entity:TeamMember) scheduled for the shift.
Maximum length: 255
team_member_id (anyOf 2)nullAlternative
timezonestringOptionalThe time zone of the shift location, calculated based on the `location_id`. This field
is provided for convenience.
Read only: true

Create Shift — request body — body

FieldTypePresenceDescription and constraints
$objectRootRepresents a request to create a `Shift`.
idempotency_keystringOptionalA unique string value to ensure the idempotency of the operation.
Maximum length: 128
shiftModelRequired within parentExpand Create Shift — request body — body shift
The `Shift` to be created.

Referenced models: Create Shift — request body — body shift

Create Shift — request body — body shift

FieldTypePresenceDescription and constraints
$objectRootA record of the hourly rate, start, and end times for a single work shift
for an employee. This might include a record of the start and end times for breaks
taken during the shift.

Deprecated at Square API version 2025-05-21. Replaced by [Timecard](entity:Timecard).
See the [migration notes](https://developer.squareup.com/docs/labor-api/what-it-does#migration-notes).
breaksJSONOptional
breaks (anyOf 1)arrayAlternativeA list of all the paid or unpaid breaks that were taken during this shift.
breaks (anyOf 1)[]ModelEach itemExpand Get Shift — response body — shift breaks array item
breaks (anyOf 2)nullAlternative
created_atstringOptionalA read-only timestamp in RFC 3339 format; presented in UTC.
Read only: true
declared_cash_tip_moneyJSONOptional
declared_cash_tip_money (anyOf 1)ModelAlternativeExpand Create Payment — request body — body tip money
The tips declared by the team member for the shift.
declared_cash_tip_money (anyOf 2)nullAlternative
employee_idJSONOptional
employee_id (anyOf 1)stringAlternativeThe ID of the employee this shift belongs to. DEPRECATED at version 2020-08-26. Use `team_member_id` instead.
employee_id (anyOf 2)nullAlternative
end_atJSONOptional
end_at (anyOf 1)stringAlternativeRFC 3339; shifted to the timezone + offset. Precision up to the minute is
respected; seconds are truncated.
end_at (anyOf 2)nullAlternative
idstringOptionalThe UUID for this object.
Maximum length: 255
location_idstringRequired within parentThe ID of the location this shift occurred at. The location should be based on
where the employee clocked in.
Minimum length: 1
start_atstringRequired within parentRFC 3339; shifted to the location timezone + offset. Precision up to the
minute is respected; seconds are truncated.
Minimum length: 1
statusJSONOptional
status (anyOf 1)stringAlternativeEnumerates the possible status of a `Shift`.

Deprecated at Square API version 2025-05-21. See the [migration notes](https://developer.squareup.com/docs/labor-api/what-it-does#migration-notes).
Describes the working state of the current `Shift`.
See [ShiftStatus](#type-shiftstatus) for possible values
One of: OPEN, CLOSED
status (anyOf 2)nullAlternative
team_member_idJSONOptional
team_member_id (anyOf 1)stringAlternativeThe ID of the team member this shift belongs to. Replaced `employee_id` at version "2020-08-26".
team_member_id (anyOf 2)nullAlternative
timezoneJSONOptional
timezone (anyOf 1)stringAlternativeThe read-only convenience value that is calculated from the location based
on the `location_id`. Format: the IANA timezone database identifier for the
location timezone.
timezone (anyOf 2)nullAlternative
updated_atstringOptionalA read-only timestamp in RFC 3339 format; presented in UTC.
Read only: true
versionintegerOptionalUsed for resolving concurrency issues. The request fails if the version
provided does not match the server version at the time of the request. If not provided,
Square executes a blind write; potentially overwriting data from another
write.
wageJSONOptional
wage (anyOf 1)ModelAlternativeExpand Create Shift — request body — body shift wage hourly rate, job id, tip eligible, title
Job and pay related information. If the wage is not set on create, it defaults to a wage
of zero. If the title is not set on create, it defaults to the name of the role the employee
is assigned to, if any.
wage (anyOf 2)nullAlternative

Referenced models: Get Shift — response body — shift breaks array item, Create Payment — request body — body tip money, Create Shift — request body — body shift wage hourly rate, job id, tip eligible, title

Create Shift — request body — body shift wage hourly rate, job id, tip eligible, title

FieldTypePresenceDescription and constraints
$objectRootThe hourly wage rate used to compensate an employee for this shift.

Deprecated at Square API version 2025-05-21. See the [migration notes](https://developer.squareup.com/docs/labor-api/what-it-does#migration-notes).
hourly_rateJSONOptional
hourly_rate (anyOf 1)ModelAlternativeExpand Create Payment — request body — body tip money
Can be a custom-set hourly wage or the calculated effective hourly
wage based on the annual wage and hours worked per week.
hourly_rate (anyOf 2)nullAlternative
job_idstringOptionalThe id of the job performed during this shift. Square
labor-reporting UIs might group shifts together by id.
Read only: true
tip_eligibleJSONOptional
tip_eligible (anyOf 1)booleanAlternativeWhether team members are eligible for tips when working this job.
tip_eligible (anyOf 2)nullAlternative
titleJSONOptional
title (anyOf 1)stringAlternativeThe name of the job performed during this shift.
title (anyOf 2)nullAlternative

Referenced models: Create Payment — request body — body tip money

Create Shift — response body

FieldTypePresenceDescription and constraints
$objectRootThe response to a request to create a `Shift`. The response contains
the created `Shift` object and might contain a set of `Error` objects if
the request resulted in errors.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
shiftModelOptionalExpand Get Shift — response body — shift
The `Shift` that was created on the request.

Referenced models: Get Shift — response body — errors item, Get Shift — response body — shift

Create Timecard — request body — body

FieldTypePresenceDescription and constraints
$objectRootRepresents a request to create a `Timecard`.
idempotency_keystringOptionalA unique string value to ensure the idempotency of the operation.
Maximum length: 128
timecardModelRequired within parentExpand Create Timecard — request body — body timecard
The `Timecard` to be created.

Referenced models: Create Timecard — request body — body timecard

Create Timecard — request body — body timecard

FieldTypePresenceDescription and constraints
$objectRootA record of the hourly rate, start time, and end time of a single timecard (shift)
for a team member. This might include a record of the start and end times of breaks
taken during the shift.
breaksJSONOptional
breaks (anyOf 1)arrayAlternativeA list of all the paid or unpaid breaks that were taken during this timecard.
breaks (anyOf 1)[]ModelEach itemExpand Get Shift — response body — shift breaks array item
breaks (anyOf 2)nullAlternative
created_atstringOptionalThe timestamp of when the timecard was created, in RFC 3339 format presented as UTC.
Read only: true
declared_cash_tip_moneyJSONOptional
declared_cash_tip_money (anyOf 1)ModelAlternativeExpand Create Payment — request body — body tip money
The cash tips declared by the team member for this timecard.
declared_cash_tip_money (anyOf 2)nullAlternative
end_atJSONOptional
end_at (anyOf 1)stringAlternativeThe end time of the timecard, in RFC 3339 format and shifted to the location
timezone + offset. Precision up to the minute is respected; seconds are truncated.
end_at (anyOf 2)nullAlternative
idstringOptional**Read only** The Square-issued UUID for this object.
Maximum length: 255
location_idstringRequired within parentThe ID of the [location](entity:Location) for this timecard. The location should be based on
where the team member clocked in.
Minimum length: 1
start_atstringRequired within parentThe start time of the timecard, in RFC 3339 format and shifted to the location
timezone + offset. Precision up to the minute is respected; seconds are truncated.
Minimum length: 1
statusJSONOptional
status (anyOf 1)stringAlternative**Read only** Enumerates the possible status of a [timecard](entity:Timecard).
Describes the working state of the timecard.
See [TimecardStatus](#type-timecardstatus) for possible values
One of: OPEN, CLOSED
status (anyOf 2)nullAlternative
team_member_idstringRequired within parentThe ID of the [team member](entity:TeamMember) this timecard belongs to.
Minimum length: 1
timezoneJSONOptional
timezone (anyOf 1)stringAlternative**Read only** The time zone calculated from the location based on the `location_id`,
provided as a convenience value. Format: the IANA time zone database identifier for the
location time zone.
timezone (anyOf 2)nullAlternative
updated_atstringOptionalThe timestamp of when the timecard was last updated, in RFC 3339 format presented as UTC.
Read only: true
versionintegerOptional**Read only** The current version of the timecard, which is incremented with each update.
This field is used for [optimistic concurrency](https://developer.squareup.com/docs/build-basics/common-api-patterns/optimistic-concurrency)
control to ensure that requests don't overwrite data from another request.
wageJSONOptional
wage (anyOf 1)ModelAlternativeExpand Create Timecard — request body — body timecard wage hourly rate, job id, tip eligible, title
Job and pay related information. If the wage is not set on create, it defaults to a wage
of zero. If the title is not set on create, it defaults to the name of the role the team member
is assigned to, if any.
wage (anyOf 2)nullAlternative

Referenced models: Get Shift — response body — shift breaks array item, Create Payment — request body — body tip money, Create Timecard — request body — body timecard wage hourly rate, job id, tip eligible, title

Create Timecard — request body — body timecard wage hourly rate, job id, tip eligible, title

FieldTypePresenceDescription and constraints
$objectRootThe hourly wage rate used to compensate a team member for a [timecard](entity:Timecard).
hourly_rateJSONOptional
hourly_rate (anyOf 1)ModelAlternativeExpand Create Payment — request body — body tip money
Can be a custom-set hourly wage or the calculated effective hourly
wage based on the annual wage and hours worked per week.
hourly_rate (anyOf 2)nullAlternative
job_idstringOptionalThe ID of the [job](entity:Job) performed for this timecard. Square
labor-reporting UIs might group timecards together by ID.
Read only: true
tip_eligibleJSONOptional
tip_eligible (anyOf 1)booleanAlternativeWhether team members are eligible for tips when working this job.
tip_eligible (anyOf 2)nullAlternative
titleJSONOptional
title (anyOf 1)stringAlternativeThe name of the job performed during this timecard.
title (anyOf 2)nullAlternative

Referenced models: Create Payment — request body — body tip money

Create Timecard — response body

FieldTypePresenceDescription and constraints
$objectRootThe response to a request to create a `Timecard`. The response contains
the created `Timecard` object and might contain a set of `Error` objects if
the request resulted in errors.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
timecardModelOptionalExpand Create Timecard — response body — timecard
The `Timecard` that was created on the request.

Referenced models: Get Shift — response body — errors item, Create Timecard — response body — timecard

Create Timecard — response body — timecard

FieldTypePresenceDescription and constraints
$objectRootA record of the hourly rate, start time, and end time of a single timecard (shift)
for a team member. This might include a record of the start and end times of breaks
taken during the shift.
breaksJSONOptional
breaks (anyOf 1)arrayAlternativeA list of all the paid or unpaid breaks that were taken during this timecard.
breaks (anyOf 1)[]ModelEach itemExpand Get Shift — response body — shift breaks array item
breaks (anyOf 2)nullAlternative
created_atstringOptionalThe timestamp of when the timecard was created, in RFC 3339 format presented as UTC.
Read only: true
declared_cash_tip_moneyJSONOptional
declared_cash_tip_money (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
The cash tips declared by the team member for this timecard.
declared_cash_tip_money (anyOf 2)nullAlternative
end_atJSONOptional
end_at (anyOf 1)stringAlternativeThe end time of the timecard, in RFC 3339 format and shifted to the location
timezone + offset. Precision up to the minute is respected; seconds are truncated.
end_at (anyOf 2)nullAlternative
idstringOptional**Read only** The Square-issued UUID for this object.
Maximum length: 255
location_idstringRequired within parentThe ID of the [location](entity:Location) for this timecard. The location should be based on
where the team member clocked in.
Minimum length: 1
start_atstringRequired within parentThe start time of the timecard, in RFC 3339 format and shifted to the location
timezone + offset. Precision up to the minute is respected; seconds are truncated.
Minimum length: 1
statusJSONOptional
status (anyOf 1)stringAlternative**Read only** Enumerates the possible status of a [timecard](entity:Timecard).
Describes the working state of the timecard.
See [TimecardStatus](#type-timecardstatus) for possible values
Known values: OPEN, CLOSED
status (anyOf 2)nullAlternative
team_member_idstringRequired within parentThe ID of the [team member](entity:TeamMember) this timecard belongs to.
Minimum length: 1
timezoneJSONOptional
timezone (anyOf 1)stringAlternative**Read only** The time zone calculated from the location based on the `location_id`,
provided as a convenience value. Format: the IANA time zone database identifier for the
location time zone.
timezone (anyOf 2)nullAlternative
updated_atstringOptionalThe timestamp of when the timecard was last updated, in RFC 3339 format presented as UTC.
Read only: true
versionJSONOptional
version (anyOf 1)integerAlternative**Read only** The current version of the timecard, which is incremented with each update.
This field is used for [optimistic concurrency](https://developer.squareup.com/docs/build-basics/common-api-patterns/optimistic-concurrency)
control to ensure that requests don't overwrite data from another request.
version (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
wageJSONOptional
wage (anyOf 1)ModelAlternativeExpand Create Timecard — response body — timecard wage hourly rate, job id, tip eligible, title
Job and pay related information. If the wage is not set on create, it defaults to a wage
of zero. If the title is not set on create, it defaults to the name of the role the team member
is assigned to, if any.
wage (anyOf 2)nullAlternative

Referenced models: Get Shift — response body — shift breaks array item, Pay Order — response body — order total money, Create Timecard — response body — timecard wage hourly rate, job id, tip eligible, title

Create Timecard — response body — timecard wage hourly rate, job id, tip eligible, title

FieldTypePresenceDescription and constraints
$objectRootThe hourly wage rate used to compensate a team member for a [timecard](entity:Timecard).
hourly_rateJSONOptional
hourly_rate (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
Can be a custom-set hourly wage or the calculated effective hourly
wage based on the annual wage and hours worked per week.
hourly_rate (anyOf 2)nullAlternative
job_idstringOptionalThe ID of the [job](entity:Job) performed for this timecard. Square
labor-reporting UIs might group timecards together by ID.
Read only: true
tip_eligibleJSONOptional
tip_eligible (anyOf 1)booleanAlternativeWhether team members are eligible for tips when working this job.
tip_eligible (anyOf 2)nullAlternative
titleJSONOptional
title (anyOf 1)stringAlternativeThe name of the job performed during this timecard.
title (anyOf 2)nullAlternative

Referenced models: Pay Order — response body — order total money

Delete Break Type — response body

FieldTypePresenceDescription and constraints
$objectRootThe response to a request to delete a `BreakType`. The response might contain a set
of `Error` objects if the request resulted in errors.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Get Shift — response body — errors item

Delete Shift — response body

FieldTypePresenceDescription and constraints
$objectRootThe response to a request to delete a `Shift`. The response might contain a set of
`Error` objects if the request resulted in errors.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Get Shift — response body — errors item

Delete Timecard — response body

FieldTypePresenceDescription and constraints
$objectRootThe response to a request to delete a `Timecard`. The response might contain a set of
`Error` objects if the request resulted in errors.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Get Shift — response body — errors item

Get Break Type — response body

FieldTypePresenceDescription and constraints
$objectRootThe response to a request to get a `BreakType`. The response contains
the requested `BreakType` objects and might contain a set of `Error` objects if
the request resulted in errors.
break_typeModelOptionalExpand Get Break Type — response body — break type
The response object.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Get Break Type — response body — break type, Get Shift — response body — errors item

Get Break Type — response body — break type

FieldTypePresenceDescription and constraints
$objectRootA template for a type of [break](entity:Break) that can be added to a
[timecard](entity:Timecard), including the expected duration and paid status.
break_namestringRequired within parentA human-readable name for this type of break. The name is displayed to
team members in Square products.
Minimum length: 1
created_atstringOptionalA read-only timestamp in RFC 3339 format.
Read only: true
expected_durationstringRequired within parentFormat: RFC-3339 P[n]Y[n]M[n]DT[n]H[n]M[n]S. The expected length of
this break. Precision less than minutes is truncated.

Example for break expected duration of 15 minutes: PT15M
Minimum length: 1
idstringOptionalThe UUID for this object.
Maximum length: 255
is_paidbooleanRequired within parentWhether this break counts towards time worked for compensation
purposes.
location_idstringRequired within parentThe ID of the business location this type of break applies to.
Minimum length: 1
updated_atstringOptionalA read-only timestamp in RFC 3339 format.
Read only: true
versionJSONOptional
version (anyOf 1)integerAlternativeUsed for resolving concurrency issues. The request fails if the version
provided does not match the server version at the time of the request. If a value is not
provided, Square's servers execute a "blind" write; potentially
overwriting another writer's data.
version (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Get Employee Wage — response body

FieldTypePresenceDescription and constraints
$objectRootA response to a request to get an `EmployeeWage`. The response contains
the requested `EmployeeWage` objects and might contain a set of `Error` objects if
the request resulted in errors.
employee_wageModelOptionalExpand Get Employee Wage — response body — employee wage
The requested `EmployeeWage` object.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

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

Get Employee Wage — response body — employee wage

FieldTypePresenceDescription and constraints
$objectRootThe hourly wage rate that an employee earns on a `Shift` for doing the job specified by the `title` property of this object. Deprecated at version 2020-08-26. Use [TeamMemberWage](entity:TeamMemberWage).
employee_idJSONOptional
employee_id (anyOf 1)stringAlternativeThe `Employee` that this wage is assigned to.
employee_id (anyOf 2)nullAlternative
hourly_rateJSONOptional
hourly_rate (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
Can be a custom-set hourly wage or the calculated effective hourly
wage based on the annual wage and hours worked per week.
hourly_rate (anyOf 2)nullAlternative
idstringOptionalThe UUID for this object.
titleJSONOptional
title (anyOf 1)stringAlternativeThe job title that this wage relates to.
title (anyOf 2)nullAlternative

Referenced models: Pay Order — response body — order total money

Get Shift — response body

FieldTypePresenceDescription and constraints
$objectRootA response to a request to get a `Shift`. The response contains
the requested `Shift` object and might contain a set of `Error` objects if
the request resulted in errors.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
shiftModelOptionalExpand Get Shift — response body — shift
The requested `Shift`.

Referenced models: Get Shift — response body — errors item, Get Shift — response body — shift

Get Shift — response body — errors item

FieldTypePresenceDescription and constraints
$objectRootRepresents an error encountered during a request to the Connect API.

See [Handling errors](https://developer.squareup.com/docs/build-basics/handling-errors) for more information.
categorystringRequired within parentIndicates which high-level category of error has occurred during a
request to the Connect API.
The high-level category for the error.
See [ErrorCategory](#type-errorcategory) for possible values
Known values: API_ERROR, AUTHENTICATION_ERROR, INVALID_REQUEST_ERROR, RATE_LIMIT_ERROR, PAYMENT_METHOD_ERROR, REFUND_ERROR, MERCHANT_SUBSCRIPTION_ERROR, EXTERNAL_VENDOR_ERROR
codeModelRequired within parentExpand Get Shift — response body — errors item code
The specific code of the error.
See [ErrorCode](#type-errorcode) for possible values
detailstringOptionalA human-readable description of the error for debugging purposes.
fieldstringOptionalThe name of the field provided in the original request (if any) that
the error pertains to.

Referenced models: Get Shift — response body — errors item code

Get Shift — response body — errors item code

FieldTypePresenceDescription and constraints
$stringRootIndicates the specific error that occurred during a request to a
Square API.
Known values: INTERNAL_SERVER_ERROR, UNAUTHORIZED, ACCESS_TOKEN_EXPIRED, ACCESS_TOKEN_REVOKED, CLIENT_DISABLED, FORBIDDEN, INSUFFICIENT_SCOPES, APPLICATION_DISABLED, V1_APPLICATION, V1_ACCESS_TOKEN, CARD_PROCESSING_NOT_ENABLED, MERCHANT_SUBSCRIPTION_NOT_FOUND, BAD_REQUEST, MISSING_REQUIRED_PARAMETER, INCORRECT_TYPE, INVALID_TIME, INVALID_TIME_RANGE, INVALID_VALUE, INVALID_CURSOR, UNKNOWN_QUERY_PARAMETER, CONFLICTING_PARAMETERS, EXPECTED_JSON_BODY, INVALID_SORT_ORDER, VALUE_REGEX_MISMATCH, VALUE_TOO_SHORT, VALUE_TOO_LONG, VALUE_TOO_LOW, VALUE_TOO_HIGH, VALUE_EMPTY, ARRAY_LENGTH_TOO_LONG, ARRAY_LENGTH_TOO_SHORT, ARRAY_EMPTY, EXPECTED_BOOLEAN, EXPECTED_INTEGER, EXPECTED_FLOAT, EXPECTED_STRING, EXPECTED_OBJECT, EXPECTED_ARRAY, EXPECTED_MAP, EXPECTED_BASE64_ENCODED_BYTE_ARRAY, INVALID_ARRAY_VALUE, INVALID_ENUM_VALUE, INVALID_CONTENT_TYPE, INVALID_FORM_VALUE, CUSTOMER_NOT_FOUND, ONE_INSTRUMENT_EXPECTED, NO_FIELDS_SET, TOO_MANY_MAP_ENTRIES, MAP_KEY_LENGTH_TOO_SHORT, MAP_KEY_LENGTH_TOO_LONG, CUSTOMER_MISSING_NAME, CUSTOMER_MISSING_EMAIL, INVALID_PAUSE_LENGTH, INVALID_DATE, UNSUPPORTED_COUNTRY, UNSUPPORTED_CURRENCY, APPLE_TTP_PIN_TOKEN, CARD_EXPIRED, INVALID_EXPIRATION, INVALID_EXPIRATION_YEAR, INVALID_EXPIRATION_DATE, UNSUPPORTED_CARD_BRAND, UNSUPPORTED_ENTRY_METHOD, INVALID_ENCRYPTED_CARD, INVALID_CARD, PAYMENT_AMOUNT_MISMATCH, GENERIC_DECLINE, CVV_FAILURE, ADDRESS_VERIFICATION_FAILURE, INVALID_ACCOUNT, CURRENCY_MISMATCH, INSUFFICIENT_FUNDS, INSUFFICIENT_PERMISSIONS, CARDHOLDER_INSUFFICIENT_PERMISSIONS, INVALID_LOCATION, TRANSACTION_LIMIT, VOICE_FAILURE, PAN_FAILURE, EXPIRATION_FAILURE, CARD_NOT_SUPPORTED, READER_DECLINED, INVALID_PIN, MISSING_PIN, MISSING_ACCOUNT_TYPE, INVALID_POSTAL_CODE, INVALID_FEES, MANUALLY_ENTERED_PAYMENT_NOT_SUPPORTED, PAYMENT_LIMIT_EXCEEDED, GIFT_CARD_AVAILABLE_AMOUNT, ACCOUNT_UNUSABLE, BUYER_REFUSED_PAYMENT, DELAYED_TRANSACTION_EXPIRED, DELAYED_TRANSACTION_CANCELED, DELAYED_TRANSACTION_CAPTURED, DELAYED_TRANSACTION_FAILED, CARD_TOKEN_EXPIRED, CARD_TOKEN_USED, AMOUNT_TOO_HIGH, AMOUNT_TOO_LOW, UNSUPPORTED_INSTRUMENT_TYPE, REFUND_AMOUNT_INVALID, REFUND_ALREADY_PENDING, PAYMENT_NOT_REFUNDABLE, PAYMENT_NOT_REFUNDABLE_DUE_TO_DISPUTE, REFUND_ERROR_PAYMENT_NEEDS_COMPLETION, REFUND_DECLINED, INSUFFICIENT_PERMISSIONS_FOR_REFUND, INVALID_CARD_DATA, SOURCE_USED, SOURCE_EXPIRED, UNSUPPORTED_LOYALTY_REWARD_TIER, LOCATION_MISMATCH, ORDER_UNPAID_NOT_RETURNABLE, PARTIAL_PAYMENT_DELAY_CAPTURE_NOT_SUPPORTED, IDEMPOTENCY_KEY_REUSED, UNEXPECTED_VALUE, SANDBOX_NOT_SUPPORTED, INVALID_EMAIL_ADDRESS, INVALID_PHONE_NUMBER, CHECKOUT_EXPIRED, BAD_CERTIFICATE, INVALID_SQUARE_VERSION_FORMAT, API_VERSION_INCOMPATIBLE, CARD_PRESENCE_REQUIRED, UNSUPPORTED_SOURCE_TYPE, CARD_MISMATCH, PLAID_ERROR, PLAID_ERROR_ITEM_LOGIN_REQUIRED, PLAID_ERROR_RATE_LIMIT, PLAID_ERROR_INVALID_ACCESS_TOKEN, PLAID_ERROR_INVALID_ACCOUNT_ID, PLAID_ERROR_NO_ACCOUNTS, PLAID_ERROR_ITEM_NOT_FOUND, PLAID_ERROR_INSUFFICIENT_CREDENTIALS, PLAID_ERROR_ITEM_NOT_SUPPORTED, PLAID_ERROR_PRODUCT_NOT_READY, PAYMENT_SOURCE_NOT_ENABLED_FOR_TARGET, CARD_DECLINED, VERIFY_CVV_FAILURE, VERIFY_AVS_FAILURE, CARD_DECLINED_CALL_ISSUER, CARD_DECLINED_VERIFICATION_REQUIRED, BAD_EXPIRATION, CHIP_INSERTION_REQUIRED, ALLOWABLE_PIN_TRIES_EXCEEDED, RESERVATION_DECLINED, UNKNOWN_BODY_PARAMETER, CART_INELIGIBLE_FOR_EBT, NOT_FOUND, APPLE_PAYMENT_PROCESSING_CERTIFICATE_HASH_NOT_FOUND, METHOD_NOT_ALLOWED, NOT_ACCEPTABLE, REQUEST_TIMEOUT, CONFLICT, GONE, REQUEST_ENTITY_TOO_LARGE, UNSUPPORTED_MEDIA_TYPE, UNPROCESSABLE_ENTITY, RATE_LIMITED, NOT_IMPLEMENTED, BAD_GATEWAY, SERVICE_UNAVAILABLE, TEMPORARY_ERROR, GATEWAY_TIMEOUT

Get Shift — response body — shift

FieldTypePresenceDescription and constraints
$objectRootA record of the hourly rate, start, and end times for a single work shift
for an employee. This might include a record of the start and end times for breaks
taken during the shift.

Deprecated at Square API version 2025-05-21. Replaced by [Timecard](entity:Timecard).
See the [migration notes](https://developer.squareup.com/docs/labor-api/what-it-does#migration-notes).
breaksJSONOptional
breaks (anyOf 1)arrayAlternativeA list of all the paid or unpaid breaks that were taken during this shift.
breaks (anyOf 1)[]ModelEach itemExpand Get Shift — response body — shift breaks array item
breaks (anyOf 2)nullAlternative
created_atstringOptionalA read-only timestamp in RFC 3339 format; presented in UTC.
Read only: true
declared_cash_tip_moneyJSONOptional
declared_cash_tip_money (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
The tips declared by the team member for the shift.
declared_cash_tip_money (anyOf 2)nullAlternative
employee_idJSONOptional
employee_id (anyOf 1)stringAlternativeThe ID of the employee this shift belongs to. DEPRECATED at version 2020-08-26. Use `team_member_id` instead.
employee_id (anyOf 2)nullAlternative
end_atJSONOptional
end_at (anyOf 1)stringAlternativeRFC 3339; shifted to the timezone + offset. Precision up to the minute is
respected; seconds are truncated.
end_at (anyOf 2)nullAlternative
idstringOptionalThe UUID for this object.
Maximum length: 255
location_idstringRequired within parentThe ID of the location this shift occurred at. The location should be based on
where the employee clocked in.
Minimum length: 1
start_atstringRequired within parentRFC 3339; shifted to the location timezone + offset. Precision up to the
minute is respected; seconds are truncated.
Minimum length: 1
statusJSONOptional
status (anyOf 1)stringAlternativeEnumerates the possible status of a `Shift`.

Deprecated at Square API version 2025-05-21. See the [migration notes](https://developer.squareup.com/docs/labor-api/what-it-does#migration-notes).
Describes the working state of the current `Shift`.
See [ShiftStatus](#type-shiftstatus) for possible values
Known values: OPEN, CLOSED
status (anyOf 2)nullAlternative
team_member_idJSONOptional
team_member_id (anyOf 1)stringAlternativeThe ID of the team member this shift belongs to. Replaced `employee_id` at version "2020-08-26".
team_member_id (anyOf 2)nullAlternative
timezoneJSONOptional
timezone (anyOf 1)stringAlternativeThe read-only convenience value that is calculated from the location based
on the `location_id`. Format: the IANA timezone database identifier for the
location timezone.
timezone (anyOf 2)nullAlternative
updated_atstringOptionalA read-only timestamp in RFC 3339 format; presented in UTC.
Read only: true
versionJSONOptional
version (anyOf 1)integerAlternativeUsed for resolving concurrency issues. The request fails if the version
provided does not match the server version at the time of the request. If not provided,
Square executes a blind write; potentially overwriting data from another
write.
version (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
wageJSONOptional
wage (anyOf 1)ModelAlternativeExpand Get Shift — response body — shift wage hourly rate, job id, tip eligible, title
Job and pay related information. If the wage is not set on create, it defaults to a wage
of zero. If the title is not set on create, it defaults to the name of the role the employee
is assigned to, if any.
wage (anyOf 2)nullAlternative

Referenced models: Get Shift — response body — shift breaks array item, Pay Order — response body — order total money, Get Shift — response body — shift wage hourly rate, job id, tip eligible, title

Get Shift — response body — shift breaks array item

FieldTypePresenceDescription and constraints
$objectRootA record of a team member's break on a [timecard](entity:Timecard).
break_type_idstringRequired within parentThe [BreakType](entity:BreakType) that this break was templated on.
Minimum length: 1
end_atJSONOptional
end_at (anyOf 1)stringAlternativeRFC 3339; follows the same timezone information as the [timecard](entity:Timecard). Precision up to
the minute is respected; seconds are truncated.
end_at (anyOf 2)nullAlternative
expected_durationstringRequired within parentFormat: RFC-3339 P[n]Y[n]M[n]DT[n]H[n]M[n]S. The expected length of
the break.

Example for break expected duration of 15 minutes: PT15M
Minimum length: 1
idstringOptionalThe UUID for this object.
is_paidbooleanRequired within parentWhether this break counts towards time worked for compensation
purposes.
namestringRequired within parentA human-readable name.
Minimum length: 1
start_atstringRequired within parentRFC 3339; follows the same timezone information as the [timecard](entity:Timecard). Precision up to
the minute is respected; seconds are truncated.
Minimum length: 1

Get Shift — response body — shift wage hourly rate, job id, tip eligible, title

FieldTypePresenceDescription and constraints
$objectRootThe hourly wage rate used to compensate an employee for this shift.

Deprecated at Square API version 2025-05-21. See the [migration notes](https://developer.squareup.com/docs/labor-api/what-it-does#migration-notes).
hourly_rateJSONOptional
hourly_rate (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
Can be a custom-set hourly wage or the calculated effective hourly
wage based on the annual wage and hours worked per week.
hourly_rate (anyOf 2)nullAlternative
job_idstringOptionalThe id of the job performed during this shift. Square
labor-reporting UIs might group shifts together by id.
Read only: true
tip_eligibleJSONOptional
tip_eligible (anyOf 1)booleanAlternativeWhether team members are eligible for tips when working this job.
tip_eligible (anyOf 2)nullAlternative
titleJSONOptional
title (anyOf 1)stringAlternativeThe name of the job performed during this shift.
title (anyOf 2)nullAlternative

Referenced models: Pay Order — response body — order total money

Get Team Member Wage — response body

FieldTypePresenceDescription and constraints
$objectRootA response to a request to get a `TeamMemberWage`. The response contains
the requested `TeamMemberWage` objects and might contain a set of `Error` objects if
the request resulted in errors.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
team_member_wageModelOptionalExpand Get Team Member Wage — response body — team member wage
The requested `TeamMemberWage` object.

Referenced models: Get Shift — response body — errors item, Get Team Member Wage — response body — team member wage

Get Team Member Wage — response body — team member wage

FieldTypePresenceDescription and constraints
$objectRootJob and wage information for a [team member](entity:TeamMember).
This convenience object provides details needed to specify the `wage`
field for a [timecard](entity:Timecard).
hourly_rateJSONOptional
hourly_rate (anyOf 1)ModelAlternativeExpand Pay Order — response body — order total money
Can be a custom-set hourly wage or the calculated effective hourly
wage based on the annual wage and hours worked per week.
hourly_rate (anyOf 2)nullAlternative
idstringOptionalThe UUID for this object.
job_idJSONOptional
job_id (anyOf 1)stringAlternativeAn identifier for the [job](entity:Job) that this wage relates to.
job_id (anyOf 2)nullAlternative
team_member_idJSONOptional
team_member_id (anyOf 1)stringAlternativeThe `TeamMember` that this wage is assigned to.
team_member_id (anyOf 2)nullAlternative
tip_eligibleJSONOptional
tip_eligible (anyOf 1)booleanAlternativeWhether team members are eligible for tips when working this job.
tip_eligible (anyOf 2)nullAlternative
titleJSONOptional
title (anyOf 1)stringAlternativeThe job title that this wage relates to.
title (anyOf 2)nullAlternative

Referenced models: Pay Order — response body — order total money

List Break Types — response body

FieldTypePresenceDescription and constraints
$objectRootThe response to a request for a set of `BreakType` objects. The response contains
the requested `BreakType` objects and might contain a set of `Error` objects if
the request resulted in errors.
break_typesarrayOptionalA page of `BreakType` results.
break_types[]ModelEach itemExpand Get Break Type — response body — break type
cursorstringOptionalThe value supplied in the subsequent request to fetch the next page
of `BreakType` results.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Get Break Type — response body — break type, Get Shift — response body — errors item

List Employee Wages — response body

FieldTypePresenceDescription and constraints
$objectRootThe response to a request for a set of `EmployeeWage` objects. The response contains
a set of `EmployeeWage` objects.
cursorstringOptionalThe value supplied in the subsequent request to fetch the next page
of `EmployeeWage` results.
employee_wagesarrayOptionalA page of `EmployeeWage` results.
employee_wages[]ModelEach itemExpand Get Employee Wage — response body — employee wage
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

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

List Team Member Wages — response body

FieldTypePresenceDescription and constraints
$objectRootThe response to a request for a set of `TeamMemberWage` objects. The response contains
a set of `TeamMemberWage` objects.
cursorstringOptionalThe value supplied in the subsequent request to fetch the next page
of `TeamMemberWage` results.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
team_member_wagesarrayOptionalA page of `TeamMemberWage` results.
team_member_wages[]ModelEach itemExpand Get Team Member Wage — response body — team member wage

Referenced models: Get Shift — response body — errors item, Get Team Member Wage — response body — team member wage

List Workweek Configs — response body

FieldTypePresenceDescription and constraints
$objectRootThe response to a request for a set of `WorkweekConfig` objects. The response contains
the requested `WorkweekConfig` objects and might contain a set of `Error` objects if
the request resulted in errors.
cursorstringOptionalThe value supplied in the subsequent request to fetch the next page of
`WorkweekConfig` results.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
workweek_configsarrayOptionalA page of `WorkweekConfig` results.
workweek_configs[]ModelEach itemExpand Update Workweek Config — response body — workweek config

Referenced models: Get Shift — response body — errors item, Update Workweek Config — response body — workweek config

Publish Scheduled Shift — request body — body

FieldTypePresenceDescription and constraints
$objectRootRepresents a [PublishScheduledShift](api-endpoint:Labor-PublishScheduledShift) request.
idempotency_keystringRequired within parentA unique identifier for the `PublishScheduledShift` request, used to ensure the
[idempotency](https://developer.squareup.com/docs/build-basics/common-api-patterns/idempotency)
of the operation.
Maximum length: 128
Minimum length: 1
scheduled_shift_notification_audienceJSONOptional
scheduled_shift_notification_audience (anyOf 1)stringAlternativeIndicates whether Square sends an email notification to team members
when a scheduled shift is published and which team members receive the notification.
Indicates whether Square should send an email notification to team members and
which team members should receive the notification. The default value is `AFFECTED`.
See [ScheduledShiftNotificationAudience](#type-scheduledshiftnotificationaudience) for possible values
One of: ALL, AFFECTED, NONE
scheduled_shift_notification_audience (anyOf 2)nullAlternative
versionintegerOptionalThe current version of the scheduled shift, used to enable [optimistic concurrency](https://developer.squareup.com/docs/build-basics/common-api-patterns/optimistic-concurrency)
control. If the provided version doesn't match the server version, the request fails.
If omitted, Square executes a blind write, potentially overwriting data from another publish request.

Publish Scheduled Shift — response body

FieldTypePresenceDescription and constraints
$objectRootRepresents a [PublishScheduledShift](api-endpoint:Labor-PublishScheduledShift) response.
Either `scheduled_shift` or `errors` is present in the response.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
scheduled_shiftModelOptionalExpand Create Scheduled Shift — response body — scheduled shift
The published scheduled shift.

Referenced models: Get Shift — response body — errors item, Create Scheduled Shift — response body — scheduled shift

Retrieve Scheduled Shift — response body

FieldTypePresenceDescription and constraints
$objectRootRepresents a [RetrieveScheduledShift](api-endpoint:Labor-RetrieveScheduledShift) response.
Either `scheduled_shift` or `errors` is present in the response.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
scheduled_shiftModelOptionalExpand Create Scheduled Shift — response body — scheduled shift
The requested scheduled shift.

Referenced models: Get Shift — response body — errors item, Create Scheduled Shift — response body — scheduled shift

Retrieve Timecard — response body

FieldTypePresenceDescription and constraints
$objectRootA response to a request to get a `Timecard`. The response contains
the requested `Timecard` object and might contain a set of `Error` objects if
the request resulted in errors.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
timecardModelOptionalExpand Create Timecard — response body — timecard
The requested `Timecard`.

Referenced models: Get Shift — response body — errors item, Create Timecard — response body — timecard

Search Scheduled Shifts — request body — body

FieldTypePresenceDescription and constraints
$objectRootRepresents a [SearchScheduledShift](api-endpoint:Labor-SearchScheduledShift) request.
cursorstringOptionalThe pagination cursor returned by the previous call to this endpoint. Provide
this cursor to retrieve the next page of results for your original request. For more
information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination).
limitintegerOptionalThe maximum number of results to return in a single response page. The default value is 50.
Maximum: 50
Minimum: 1
queryModelOptionalExpand Search Scheduled Shifts — request body — body query
Query conditions used to filter and sort the results.

Referenced models: Search Scheduled Shifts — request body — body query

Search Scheduled Shifts — request body — body query

FieldTypePresenceDescription and constraints
$objectRootRepresents filter and sort criteria for the `query` field in a
[SearchScheduledShifts](api-endpoint:Labor-SearchScheduledShifts) request.
filterJSONOptional
filter (anyOf 1)ModelAlternativeExpand Search Scheduled Shifts — request body — body query filter assignment status, end, location ids, scheduled shift statuses, start, team member ids, workday
Filtering options for the query.
filter (anyOf 2)nullAlternative
sortJSONOptional
sort (anyOf 1)ModelAlternativeExpand Search Scheduled Shifts — request body — body query sort field, order
Sorting options for the query.
sort (anyOf 2)nullAlternative

Referenced models: Search Scheduled Shifts — request body — body query filter assignment status, end, location ids, scheduled shift statuses, start, team member ids, workday, Search Scheduled Shifts — request body — body query sort field, order

Search Scheduled Shifts — request body — body query filter assignment status, end, location ids, scheduled shift statuses, start, team member ids, workday

FieldTypePresenceDescription and constraints
$objectRootDefines filter criteria for a [SearchScheduledShifts](api-endpoint:Labor-SearchScheduledShifts)
request. Multiple filters in a query are combined as an `AND` operation.
assignment_statusJSONOptional
assignment_status (anyOf 1)stringAlternativeDefines valid values for the `assignment_status` filter in a
[SearchScheduledShifts](api-endpoint:Labor-SearchScheduledShifts) request.
Assignment status is based on the `draft_shift_details.team_member_id` and
`published_shift_details.team_member_id` fields of the scheduled shift.
Return shifts based on whether a team member is assigned. A shift is
assigned if the `team_member_id` field is populated in the `draft_shift_details`
or `published_shift details` field of the shift.

To return only draft or published shifts, include the `scheduled_shift_statuses`
filter in the query.
See [ScheduledShiftFilterAssignmentStatus](#type-scheduledshiftfilterassignmentstatus) for possible values
One of: ASSIGNED, UNASSIGNED
assignment_status (anyOf 2)nullAlternative
endJSONOptional
end (anyOf 1)ModelAlternativeExpand Search Availability — request body — body query filter start at range
Return shifts whose `end_at` time is within the specified
time range (inclusive).
end (anyOf 2)nullAlternative
location_idsJSONOptional
location_ids (anyOf 1)arrayAlternativeReturn shifts for the specified locations. When omitted, shifts for all
locations are returned. If needed, call [ListLocations](api-endpoint:Locations-ListLocations)
to get location IDs.
location_ids (anyOf 1)[]stringEach item
location_ids (anyOf 2)nullAlternative
scheduled_shift_statusesJSONOptional
scheduled_shift_statuses (anyOf 1)arrayAlternativeReturn shifts based on the draft or published status of the shift.
A shift is published if the `published_shift_details` field is present.

Note that shifts with `draft_shift_details.is_deleted` set to `true` are ignored
with the `DRAFT` filter.
See [ScheduledShiftFilterScheduledShiftStatus](#type-scheduledshiftfilterscheduledshiftstatus) for possible values
scheduled_shift_statuses (anyOf 1)[]stringEach itemDefines valid values for the `scheduled_shift_statuses` filter in a
[SearchScheduledShifts](api-endpoint:Labor-SearchScheduledShifts) request.
One of: DRAFT, PUBLISHED
scheduled_shift_statuses (anyOf 2)nullAlternative
startJSONOptional
start (anyOf 1)ModelAlternativeExpand Search Availability — request body — body query filter start at range
Return shifts whose `start_at` time is within the specified
time range (inclusive).
start (anyOf 2)nullAlternative
team_member_idsJSONOptional
team_member_ids (anyOf 1)arrayAlternativeReturn shifts assigned to specified team members. If needed, call
[SearchTeamMembers](api-endpoint:Team-SearchTeamMembers) to get team member IDs.

To return only the shifts assigned to the specified team members, include the
`assignment_status` filter in the query. Otherwise, all unassigned shifts are
returned along with shifts assigned to the specified team members.
team_member_ids (anyOf 1)[]stringEach item
team_member_ids (anyOf 2)nullAlternative
workdayJSONOptional
workday (anyOf 1)ModelAlternativeExpand Search Scheduled Shifts — request body — body query filter assignment status, end, location ids, scheduled shift statuses, start, team member ids, workday workday date range, default timezone, match scheduled shifts by
Return shifts based on a workday date range.
workday (anyOf 2)nullAlternative

Referenced models: Search Scheduled Shifts — request body — body query filter assignment status, end, location ids, scheduled shift statuses, start, team member ids, workday workday date range, default timezone, match scheduled shifts by, Search Availability — request body — body query filter start at range

Search Scheduled Shifts — request body — body query filter assignment status, end, location ids, scheduled shift statuses, start, team member ids, workday workday date range, default timezone, match scheduled shifts by

FieldTypePresenceDescription and constraints
$objectRootA `ScheduledShift` search query filter parameter that sets a range of days that
a `Shift` must start or end in before passing the filter condition.
date_rangeJSONOptional
date_range (anyOf 1)ModelAlternativeExpand Search Timecards — request body — body query filter end, location ids, start, status, team member ids, workday workday date range, default timezone, match timecards by date range end date, start date
Dates for fetching the scheduled shifts.
date_range (anyOf 2)nullAlternative
default_timezoneJSONOptional
default_timezone (anyOf 1)stringAlternativeLocation-specific timezones convert workdays to datetime filters.
Every location included in the query must have a timezone or this field
must be provided as a fallback. Format: the IANA timezone database
identifier for the relevant timezone.
default_timezone (anyOf 2)nullAlternative
match_scheduled_shifts_byJSONOptional
match_scheduled_shifts_by (anyOf 1)stringAlternativeDefines the logic used to apply a workday filter.
The strategy on which the dates are applied.
See [ScheduledShiftWorkdayMatcher](#type-scheduledshiftworkdaymatcher) for possible values
One of: START_AT, END_AT, INTERSECTION
match_scheduled_shifts_by (anyOf 2)nullAlternative

Referenced models: Search Timecards — request body — body query filter end, location ids, start, status, team member ids, workday workday date range, default timezone, match timecards by date range end date, start date

Search Scheduled Shifts — request body — body query sort field, order

FieldTypePresenceDescription and constraints
$objectRootDefines sort criteria for a [SearchScheduledShifts](api-endpoint:Labor-SearchScheduledShifts)
request.
fieldJSONOptional
field (anyOf 1)stringAlternativeDefines valid values for the `field` sort setting in a
[SearchScheduledShifts](api-endpoint:Labor-SearchScheduledShifts) request.
The field to sort on. The default value is `START_AT`.
See [ScheduledShiftSortField](#type-scheduledshiftsortfield) for possible values
One of: START_AT, END_AT, CREATED_AT, UPDATED_AT
field (anyOf 2)nullAlternative
orderJSONOptional
order (anyOf 1)stringAlternativeThe order (e.g., chronological or alphabetical) in which results from a request are returned.
The order in which results are returned. The default value is `ASC`.
See [SortOrder](#type-sortorder) for possible values
One of: DESC, ASC
order (anyOf 2)nullAlternative

Search Scheduled Shifts — response body

FieldTypePresenceDescription and constraints
$objectRootRepresents a [SearchScheduledShifts](api-endpoint:Labor-SearchScheduledShifts) response.
Either `scheduled_shifts` or `errors` is present in the response.
cursorstringOptionalThe pagination cursor used to retrieve the next page of results. This field is present
only if additional results are available.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
scheduled_shiftsarrayOptionalA paginated list of scheduled shifts that match the query conditions.
scheduled_shifts[]ModelEach itemExpand Create Scheduled Shift — response body — scheduled shift

Referenced models: Get Shift — response body — errors item, Create Scheduled Shift — response body — scheduled shift

Search Shifts — request body — body

FieldTypePresenceDescription and constraints
$objectRootA request for a filtered and sorted set of `Shift` objects.
cursorstringOptionalAn opaque cursor for fetching the next page.
limitintegerOptionalThe number of resources in a page (200 by default).
Maximum: 200
Minimum: 1
queryModelOptionalExpand Search Shifts — request body — body query
Query filters.

Referenced models: Search Shifts — request body — body query

Search Shifts — request body — body query

FieldTypePresenceDescription and constraints
$objectRootThe parameters of a `Shift` search query, which includes filter and sort options.

Deprecated at Square API version 2025-05-21. See the [migration notes](https://developer.squareup.com/docs/labor-api/what-it-does#migration-notes).
filterJSONOptional
filter (anyOf 1)ModelAlternativeExpand Search Shifts — request body — body query filter employee ids, end, location ids, start, status, team member ids, workday
Query filter options.
filter (anyOf 2)nullAlternative
sortJSONOptional
sort (anyOf 1)ModelAlternativeExpand Search Shifts — request body — body query sort Sets the sort order of search results
Sort order details.
sort (anyOf 2)nullAlternative

Referenced models: Search Shifts — request body — body query filter employee ids, end, location ids, start, status, team member ids, workday, Search Shifts — request body — body query sort Sets the sort order of search results

Search Shifts — request body — body query filter employee ids, end, location ids, start, status, team member ids, workday

FieldTypePresenceDescription and constraints
$objectRootDefines a filter used in a search for `Shift` records. `AND` logic is
used by Square's servers to apply each filter property specified.

Deprecated at Square API version 2025-05-21. See the [migration notes](https://developer.squareup.com/docs/labor-api/what-it-does#migration-notes).
employee_idsJSONOptional
employee_ids (anyOf 1)arrayAlternativeFetch shifts for the specified employees. DEPRECATED at version 2020-08-26. Use `team_member_ids` instead.
employee_ids (anyOf 1)[]stringEach item
employee_ids (anyOf 2)nullAlternative
endJSONOptional
end (anyOf 1)ModelAlternativeExpand Search Availability — request body — body query filter start at range
Fetch the `Shift` instances that end in the time range - Inclusive.
end (anyOf 2)nullAlternative
location_idsJSONOptional
location_ids (anyOf 1)arrayAlternativeFetch shifts for the specified location.
location_ids (anyOf 1)[]stringEach item
location_ids (anyOf 2)nullAlternative
startJSONOptional
start (anyOf 1)ModelAlternativeExpand Search Availability — request body — body query filter start at range
Fetch `Shift` instances that start in the time range - Inclusive.
start (anyOf 2)nullAlternative
statusJSONOptional
status (anyOf 1)stringAlternativeSpecifies the `status` of `Shift` records to be returned.

Deprecated at Square API version 2025-05-21. See the [migration notes](https://developer.squareup.com/docs/labor-api/what-it-does#migration-notes).
Fetch a `Shift` instance by `Shift.status`.
See [ShiftFilterStatus](#type-shiftfilterstatus) for possible values
One of: OPEN, CLOSED
status (anyOf 2)nullAlternative
team_member_idsJSONOptional
team_member_ids (anyOf 1)arrayAlternativeFetch shifts for the specified team members. Replaced `employee_ids` at version "2020-08-26".
team_member_ids (anyOf 1)[]stringEach item
team_member_ids (anyOf 2)nullAlternative
workdayJSONOptional
workday (anyOf 1)ModelAlternativeExpand Search Shifts — request body — body query filter employee ids, end, location ids, start, status, team member ids, workday workday date range, default timezone, match shifts by
Fetch the `Shift` instances based on the workday date range.
workday (anyOf 2)nullAlternative

Referenced models: Search Shifts — request body — body query filter employee ids, end, location ids, start, status, team member ids, workday workday date range, default timezone, match shifts by, Search Availability — request body — body query filter start at range

Search Shifts — request body — body query filter employee ids, end, location ids, start, status, team member ids, workday workday date range, default timezone, match shifts by

FieldTypePresenceDescription and constraints
$objectRootA `Shift` search query filter parameter that sets a range of days that
a `Shift` must start or end in before passing the filter condition.

Deprecated at Square API version 2025-05-21. See the [migration notes](https://developer.squareup.com/docs/labor-api/what-it-does#migration-notes).
date_rangeJSONOptional
date_range (anyOf 1)ModelAlternativeExpand Search Timecards — request body — body query filter end, location ids, start, status, team member ids, workday workday date range, default timezone, match timecards by date range end date, start date
Dates for fetching the shifts.
date_range (anyOf 2)nullAlternative
default_timezoneJSONOptional
default_timezone (anyOf 1)stringAlternativeLocation-specific timezones convert workdays to datetime filters.
Every location included in the query must have a timezone or this field
must be provided as a fallback. Format: the IANA timezone database
identifier for the relevant timezone.
default_timezone (anyOf 2)nullAlternative
match_shifts_byJSONOptional
match_shifts_by (anyOf 1)stringAlternativeDefines the logic used to apply a workday filter.
The strategy on which the dates are applied.
See [ShiftWorkdayMatcher](#type-shiftworkdaymatcher) for possible values
One of: START_AT, END_AT, INTERSECTION
match_shifts_by (anyOf 2)nullAlternative

Referenced models: Search Timecards — request body — body query filter end, location ids, start, status, team member ids, workday workday date range, default timezone, match timecards by date range end date, start date

Search Shifts — request body — body query sort Sets the sort order of search results

FieldTypePresenceDescription and constraints
$objectRootSets the sort order of search results.

Deprecated at Square API version 2025-05-21. See the [migration notes](https://developer.squareup.com/docs/labor-api/what-it-does#migration-notes).
fieldJSONOptional
field (anyOf 1)stringAlternativeEnumerates the `Shift` fields to sort on.

Deprecated at Square API version 2025-05-21. See the [migration notes](https://developer.squareup.com/docs/labor-api/what-it-does#migration-notes).
The field to sort on.
See [ShiftSortField](#type-shiftsortfield) for possible values
One of: START_AT, END_AT, CREATED_AT, UPDATED_AT
field (anyOf 2)nullAlternative
orderJSONOptional
order (anyOf 1)stringAlternativeThe order (e.g., chronological or alphabetical) in which results from a request are returned.
The order in which results are returned. Defaults to DESC.
See [SortOrder](#type-sortorder) for possible values
One of: DESC, ASC
order (anyOf 2)nullAlternative

Search Shifts — response body

FieldTypePresenceDescription and constraints
$objectRootThe response to a request for `Shift` objects. The response contains
the requested `Shift` objects and might contain a set of `Error` objects if
the request resulted in errors.
cursorstringOptionalAn opaque cursor for fetching the next page.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
shiftsarrayOptionalShifts.
shifts[]ModelEach itemExpand Get Shift — response body — shift

Referenced models: Get Shift — response body — errors item, Get Shift — response body — shift

Search Timecards — request body — body

FieldTypePresenceDescription and constraints
$objectRootA request for a filtered and sorted set of `Timecard` objects.
cursorstringOptionalAn opaque cursor for fetching the next page.
limitintegerOptionalThe number of resources in a page (200 by default).
Maximum: 200
Minimum: 1
queryModelOptionalExpand Search Timecards — request body — body query
Query filters.

Referenced models: Search Timecards — request body — body query

Search Timecards — request body — body query

FieldTypePresenceDescription and constraints
$objectRootThe parameters of a `Timecard` search query, which includes filter and sort options.
filterJSONOptional
filter (anyOf 1)ModelAlternativeExpand Search Timecards — request body — body query filter end, location ids, start, status, team member ids, workday
Query filter options.
filter (anyOf 2)nullAlternative
sortJSONOptional
sort (anyOf 1)ModelAlternativeExpand Search Timecards — request body — body query sort Sets the sort order of search results
Sort order details.
sort (anyOf 2)nullAlternative

Referenced models: Search Timecards — request body — body query filter end, location ids, start, status, team member ids, workday, Search Timecards — request body — body query sort Sets the sort order of search results

Search Timecards — request body — body query filter end, location ids, start, status, team member ids, workday

FieldTypePresenceDescription and constraints
$objectRootDefines a filter used in a search for `Timecard` records. `AND` logic is
used by Square's servers to apply each filter property specified.
endJSONOptional
end (anyOf 1)ModelAlternativeExpand Search Availability — request body — body query filter start at range
Fetch the `Timecard` instances that end in the time range - Inclusive.
end (anyOf 2)nullAlternative
location_idsJSONOptional
location_ids (anyOf 1)arrayAlternativeFetch timecards for the specified location.
location_ids (anyOf 1)[]stringEach item
location_ids (anyOf 2)nullAlternative
startJSONOptional
start (anyOf 1)ModelAlternativeExpand Search Availability — request body — body query filter start at range
Fetch `Timecard` instances that start in the time range - Inclusive.
start (anyOf 2)nullAlternative
statusJSONOptional
status (anyOf 1)stringAlternativeSpecifies the `status` of `Timecard` records to be returned.
Fetch a `Timecard` instance by `Timecard.status`.
See [TimecardFilterStatus](#type-timecardfilterstatus) for possible values
One of: OPEN, CLOSED
status (anyOf 2)nullAlternative
team_member_idsJSONOptional
team_member_ids (anyOf 1)arrayAlternativeFetch timecards for the specified team members.
team_member_ids (anyOf 1)[]stringEach item
team_member_ids (anyOf 2)nullAlternative
workdayJSONOptional
workday (anyOf 1)ModelAlternativeExpand Search Timecards — request body — body query filter end, location ids, start, status, team member ids, workday workday date range, default timezone, match timecards by
Fetch the `Timecard` instances based on the workday date range.
workday (anyOf 2)nullAlternative

Referenced models: Search Availability — request body — body query filter start at range, Search Timecards — request body — body query filter end, location ids, start, status, team member ids, workday workday date range, default timezone, match timecards by

Search Timecards — request body — body query filter end, location ids, start, status, team member ids, workday workday date range, default timezone, match timecards by

FieldTypePresenceDescription and constraints
$objectRootA `Timecard` search query filter parameter that sets a range of days that
a `Timecard` must start or end in before passing the filter condition.
date_rangeJSONOptional
date_range (anyOf 1)ModelAlternativeExpand Search Timecards — request body — body query filter end, location ids, start, status, team member ids, workday workday date range, default timezone, match timecards by date range end date, start date
Dates for fetching the timecards.
date_range (anyOf 2)nullAlternative
default_timezoneJSONOptional
default_timezone (anyOf 1)stringAlternativeLocation-specific timezones convert workdays to datetime filters.
Every location included in the query must have a timezone or this field
must be provided as a fallback. Format: the IANA timezone database
identifier for the relevant timezone.
default_timezone (anyOf 2)nullAlternative
match_timecards_byJSONOptional
match_timecards_by (anyOf 1)stringAlternativeDefines the logic used to apply a workday filter.
The strategy on which the dates are applied.
See [TimecardWorkdayMatcher](#type-timecardworkdaymatcher) for possible values
One of: START_AT, END_AT, INTERSECTION
match_timecards_by (anyOf 2)nullAlternative

Referenced models: Search Timecards — request body — body query filter end, location ids, start, status, team member ids, workday workday date range, default timezone, match timecards by date range end date, start date

Search Timecards — request body — body query filter end, location ids, start, status, team member ids, workday workday date range, default timezone, match timecards by date range end date, start date

FieldTypePresenceDescription and constraints
$objectRootA range defined by two dates. Used for filtering a query for Connect v2
objects that have date properties.
end_dateJSONOptional
end_date (anyOf 1)stringAlternativeA string in `YYYY-MM-DD` format, such as `2017-10-31`, per the ISO 8601
extended format for calendar dates.
The end of a date range (inclusive).
end_date (anyOf 2)nullAlternative
start_dateJSONOptional
start_date (anyOf 1)stringAlternativeA string in `YYYY-MM-DD` format, such as `2017-10-31`, per the ISO 8601
extended format for calendar dates.
The beginning of a date range (inclusive).
start_date (anyOf 2)nullAlternative

Search Timecards — request body — body query sort Sets the sort order of search results

FieldTypePresenceDescription and constraints
$objectRootSets the sort order of search results.
fieldJSONOptional
field (anyOf 1)stringAlternativeEnumerates the `Timecard` fields to sort on.
The field to sort on.
See [TimecardSortField](#type-timecardsortfield) for possible values
One of: START_AT, END_AT, CREATED_AT, UPDATED_AT
field (anyOf 2)nullAlternative
orderJSONOptional
order (anyOf 1)stringAlternativeThe order (e.g., chronological or alphabetical) in which results from a request are returned.
The order in which results are returned. Defaults to DESC.
See [SortOrder](#type-sortorder) for possible values
One of: DESC, ASC
order (anyOf 2)nullAlternative

Search Timecards — response body

FieldTypePresenceDescription and constraints
$objectRootThe response to a request for `Timecard` objects. The response contains
the requested `Timecard` objects and might contain a set of `Error` objects if
the request resulted in errors.
cursorstringOptionalAn opaque cursor for fetching the next page.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
timecardsarrayOptionalTimecards.
timecards[]ModelEach itemExpand Create Timecard — response body — timecard

Referenced models: Get Shift — response body — errors item, Create Timecard — response body — timecard

Update Break Type — request body — body

FieldTypePresenceDescription and constraints
$objectRootA request to update a `BreakType`.
break_typeModelRequired within parentExpand Create Break Type — request body — body break type
The updated `BreakType`.

Referenced models: Create Break Type — request body — body break type

Update Break Type — response body

FieldTypePresenceDescription and constraints
$objectRootA response to a request to update a `BreakType`. The response contains
the requested `BreakType` objects and might contain a set of `Error` objects if
the request resulted in errors.
break_typeModelOptionalExpand Get Break Type — response body — break type
The response object.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Get Break Type — response body — break type, Get Shift — response body — errors item

Update Scheduled Shift — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
scheduled_shiftModelRequired within parentExpand Create Scheduled Shift — request body — body scheduled shift
The scheduled shift with any updates in the `draft_shift_details` field.
If needed, call [ListLocations](api-endpoint:Locations-ListLocations) to get location IDs,
[ListJobs](api-endpoint:Team-ListJobs) to get job IDs, and [SearchTeamMembers](api-endpoint:Team-SearchTeamMembers)
to get team member IDs and current job assignments. Updates made to `published_shift_details`
are ignored.

If provided, the `start_at` and `end_at` timestamps must be in the time zone + offset of the
shift location specified in `location_id`. Example for Pacific Standard Time: 2024-10-31T12:30:00-08:00

To enable [optimistic concurrency](https://developer.squareup.com/docs/build-basics/common-api-patterns/optimistic-concurrency)
control for the request, provide the current version of the shift in the `version` field.
If the provided version doesn't match the server version, the request fails. If `version` is
omitted, Square executes a blind write, potentially overwriting data from another publish request.

Referenced models: Create Scheduled Shift — request body — body scheduled shift

Update Scheduled Shift — response body

FieldTypePresenceDescription and constraints
$objectRootRepresents an [UpdateScheduledShift](api-endpoint:Labor-UpdateScheduledShift) response.
Either `scheduled_shift` or `errors` is present in the response.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
scheduled_shiftModelOptionalExpand Create Scheduled Shift — response body — scheduled shift
The updated scheduled shift. To make the changes public, call
[PublishScheduledShift](api-endpoint:Labor-PublishScheduledShift) or
[BulkPublishScheduledShifts](api-endpoint:Labor-BulkPublishScheduledShifts).

Referenced models: Get Shift — response body — errors item, Create Scheduled Shift — response body — scheduled shift

Update Shift — request body — body

FieldTypePresenceDescription and constraints
$objectRootA request to update a `Shift` object.
shiftModelRequired within parentExpand Create Shift — request body — body shift
The updated `Shift` object.

Referenced models: Create Shift — request body — body shift

Update Shift — response body

FieldTypePresenceDescription and constraints
$objectRootThe response to a request to update a `Shift`. The response contains
the updated `Shift` object and might contain a set of `Error` objects if
the request resulted in errors.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
shiftModelOptionalExpand Get Shift — response body — shift
The updated `Shift`.

Referenced models: Get Shift — response body — errors item, Get Shift — response body — shift

Update Timecard — request body — body

FieldTypePresenceDescription and constraints
$objectRootA request to update a `Timecard` object.
timecardModelRequired within parentExpand Create Timecard — request body — body timecard
The updated `Timecard` object.

Referenced models: Create Timecard — request body — body timecard

Update Timecard — response body

FieldTypePresenceDescription and constraints
$objectRootThe response to a request to update a `Timecard`. The response contains
the updated `Timecard` object and might contain a set of `Error` objects if
the request resulted in errors.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
timecardModelOptionalExpand Create Timecard — response body — timecard
The updated `Timecard`.

Referenced models: Get Shift — response body — errors item, Create Timecard — response body — timecard

Update Workweek Config — request body — body

FieldTypePresenceDescription and constraints
$objectRootA request to update a `WorkweekConfig` object.
workweek_configModelRequired within parentExpand Update Workweek Config — request body — body workweek config
The updated `WorkweekConfig` object.

Referenced models: Update Workweek Config — request body — body workweek config

Update Workweek Config — request body — body workweek config

FieldTypePresenceDescription and constraints
$objectRootSets the day of the week and hour of the day that a business starts a
workweek. This is used to calculate overtime pay.
created_atstringOptionalA read-only timestamp in RFC 3339 format; presented in UTC.
Read only: true
idstringOptionalThe UUID for this object.
start_of_day_local_timestringRequired within parentThe local time at which a business week starts. Represented as a
string in `HH:MM` format (`HH:MM:SS` is also accepted, but seconds are
truncated).
Minimum length: 1
start_of_weekstringRequired within parentThe days of the week.
The day of the week on which a business week starts for
compensation purposes.
See [Weekday](#type-weekday) for possible values
One of: MON, TUE, WED, THU, FRI, SAT, SUN
updated_atstringOptionalA read-only timestamp in RFC 3339 format; presented in UTC.
Read only: true
versionintegerOptionalUsed for resolving concurrency issues. The request fails if the version
provided does not match the server version at the time of the request. If not provided,
Square executes a blind write; potentially overwriting data from another
write.

Update Workweek Config — response body

FieldTypePresenceDescription and constraints
$objectRootThe response to a request to update a `WorkweekConfig` object. The response contains
the updated `WorkweekConfig` object and might contain a set of `Error` objects if
the request resulted in errors.
errorsarrayOptionalAny errors that occurred during the request.
errors[]ModelEach itemExpand Get Shift — response body — errors item
workweek_configModelOptionalExpand Update Workweek Config — response body — workweek config
The response object.

Referenced models: Get Shift — response body — errors item, Update Workweek Config — response body — workweek config

Update Workweek Config — response body — workweek config

FieldTypePresenceDescription and constraints
$objectRootSets the day of the week and hour of the day that a business starts a
workweek. This is used to calculate overtime pay.
created_atstringOptionalA read-only timestamp in RFC 3339 format; presented in UTC.
Read only: true
idstringOptionalThe UUID for this object.
start_of_day_local_timestringRequired within parentThe local time at which a business week starts. Represented as a
string in `HH:MM` format (`HH:MM:SS` is also accepted, but seconds are
truncated).
Minimum length: 1
start_of_weekstringRequired within parentThe days of the week.
The day of the week on which a business week starts for
compensation purposes.
See [Weekday](#type-weekday) for possible values
Known values: MON, TUE, WED, THU, FRI, SAT, SUN
updated_atstringOptionalA read-only timestamp in RFC 3339 format; presented in UTC.
Read only: true
versionJSONOptional
version (anyOf 1)integerAlternativeUsed for resolving concurrency issues. The request fails if the version
provided does not match the server version at the time of the request. If not provided,
Square executes a blind write; potentially overwriting data from another
write.
version (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

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.