Publishes 1 - 100 scheduled shifts.
POST
/v2/labor/scheduled-shifts/bulk-publish
Publishes 1 - 100 scheduled shifts.
This endpoint takes a map of individual publish requests and returns a map of responses. When a scheduled shift is published, Square keeps the draft_shift_details
field as is and copies it to the published_shift_details
field.
The minimum start_at
and maximum end_at
timestamps of all shifts in a BulkPublishScheduledShifts
request must fall within a two-week period.
A map of 1 to 100 key-value pairs that represent individual publish requests.
BulkPublishScheduledShiftsData
object that contains the version
field or is an empty object.A 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.
errors
array containing any errors that occurred while processing the request.