---
title: "Update Shift by Company"
method: PUT
path: "/apiHub/scheduling/v1/companies/{companyId}/shifts/{shiftId}"
tags: ["Company Shifts"]
---

# Update Shift by Company

`PUT /apiHub/scheduling/v1/companies/{companyId}/shifts/{shiftId}`

## Request

- Base URL: `dc1demogwext.paylocity.com` (relative, and the document’s source URL is not known)
- URL: `dc1demogwext.paylocity.com/apiHub/scheduling/v1/companies/{companyId}/shifts/{shiftId}`
- Auth: none declared. Required headers: `Authorization`, `Content-Type`

**Summary Description**

The Update Shift by Company endpoint updates an existing shift at the company level. It allows organizations to modify scheduling details such as the duration, start times, pay type, and cost center after the shift has been created.

**Use cases:**
- Planners can adjust shift times, responsibilities, or locations.
- Automated systems can balance shifts across teams or departments.
- Managers can modify shift requirements in line with updated staffing policies.

## Path parameters

- `companyId` string, required
- `shiftId` string, required

## Headers

- `Authorization` string, required
- `Content-Type` string, required

## Request body

- ShiftUpdateV1Model: TODO: fill this out
  - `assignedTo` EmployeeV1Model
    - `companyId` string: Identifier of the company to which the task is assigned.
    - `employeeId` string: Identifier of the employee to whom the task is assigned within the company.
  - `breaks` ShiftBreakUpdateV1Model[], nullable: TODO: fill this out
    - `duration` integer: TODO: fill this out
    - `payType` 'break' | 'meal': TODO: fill this out
    - `relativeStartDateTime` string, date-time, required: TODO: fill this out
  - `costCenters` string[], nullable: TODO: fill this out
  - `duration` integer: TODO: fill this out
  - `isEmployeeNote` boolean: TODO: fill this out
  - `isPublished` boolean: TODO: fill this out
  - `note` string, nullable: TODO: fill this out
  - `positionKey` integer, nullable: TODO: fill this out
  - `relativeStartDateTime` string, date-time: TODO: fill this out
  - `scheduleId` string, uuid: TODO: fill this out

## Response `202`

Accepted

## Other responses

- `204`: No Content
- `400`: Bad Request
- `401`: Unauthorized
- `500`: Server Error

---

[API](https://skmtc.dev/paylocity/apis/scheduling-api.md) - [All operations](https://skmtc.dev/paylocity/apis/scheduling-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paylocity/apis/scheduling-api/revisions/51ca447f2b45?raw)
