Development
  • Guides
  • API Reference
  • API Explorer
  • SDKs
  • Sample apps
  • System status
Support
  • Developer forums
  • Developer blog
  • YouTube
  • X
More
  • Square Home
  • Square Developer
  • App Marketplace
  • Partner with Square
  • Solutions Partner Program
  • Pricing
  • Sales

© 2026 Square, Inc.

  • Developer terms of service
  • Developer Integration and Marketing Agreement
  • Privacy policy
  • Partnerships
  • Sign In
  • Sign In

    Labor

  • List break types

  • Create break type

  • Delete break type

  • Get break type

  • Update break type

  • Create scheduled shift

  • Bulk publish scheduled shifts

  • Search scheduled shifts

  • Retrieve scheduled shift

  • Update scheduled shift

  • Publish scheduled shift

  • List team member wages

  • Get team member wage

  • Create timecard

  • Search timecards

  • Delete timecard

  • Retrieve timecard

  • Update timecard

  • List workweek configs

  • Update workweek config

  • Webhooks

  • labor.scheduled_shift.created

  • labor.scheduled_shift.deleted

  • labor.scheduled_shift.published

  • labor.scheduled_shift.updated

  • labor.timecard.created

  • labor.timecard.deleted

  • labor.timecard.updated

<- Labor API

Labor API

All versions ->

Update scheduled shiftBeta

PUT

 /v2/labor/scheduled-shifts/{id}

Updates the draft shift details for a scheduled shift.

This endpoint supports sparse updates, so only new, changed, or removed fields are required in the request. You must publish the shift to make updates public.

You can make the following updates to draft_shift_details:

  • Change the location_id, job_id, start_at, and end_at fields.
  • Add, change, or clear the team_member_id and notes fields. To clear these fields, set the value to null.
  • Change the is_deleted field. To delete a scheduled shift, set is_deleted to true and then publish the shift.
Permissions:TIMECARDS_WRITE

Guide

Scheduling with the Labor API

Try in API Explorer
Link to section

Path parameters

Example code

Link to section

id

string

Required

The ID of the scheduled shift to update.

Link to section

Request body

Link to section

scheduled_shift

Required

The scheduled shift with any updates in the draft_shift_details field. If needed, call ListLocations to get location IDs, ListJobs to get job IDs, and 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 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.

Link to section

Response fields

Link to section

scheduled_shift

The updated scheduled shift. To make the changes public, call PublishScheduledShift or BulkPublishScheduledShifts.

Link to section

errors

Any errors that occurred during the request.

Link to section

Examples

All versions ->

PUT /v2/labor/scheduled-shifts/{id}
curl https://connect.squareup.com/v2/labor/scheduled-shifts/K0YH4CV5462JB \ -X PUT \ -H 'Square-Version: 2026-11-18' \ -H 'Authorization: Bearer ACCESS_TOKEN' \ -H 'Content-Type: application/json' \ -d '{ "scheduled_shift": { "draft_shift_details": { "team_member_id": "ormj0jJJZ5OZIzxrZYJI", "location_id": "PAA1RJZZKXBFG", "job_id": "FzbJAtt9qEWncK1BWgVCxQ6M", "start_at": "2019-03-25T03:11:00-05:00", "end_at": "2019-03-25T13:18:00-05:00", "notes": "Dont forget to prep the vegetables", "is_deleted": false }, "version": 1 } }'

Response JSON

{ "scheduled_shift": { "id": "K0YH4CV5462JB", "draft_shift_details": { "team_member_id": "ormj0jJJZ5OZIzxrZYJI", "location_id": "PAA1RJZZKXBFG", "job_id": "FzbJAtt9qEWncK1BWgVCxQ6M", "start_at": "2019-03-25T03:11:00-05:00", "end_at": "2019-03-25T13:18:00-05:00", "notes": "Dont forget to prep the vegetables", "is_deleted": false, "timezone": "America/New_York" }, "version": 2, "created_at": "2019-02-25T03:11:00-05:00", "updated_at": "2019-02-25T03:11:15-05:00" } }