---
title: "Update a break"
method: PUT
path: "/api/business/{businessId}/branch/{branchId}/break/{breakId}"
tags: ["Break"]
---

# Update a break

`PUT /api/business/{businessId}/branch/{branchId}/break/{breakId}`

## Request

- Base URL: `http://api-gateway-eu.phorest.com/third-party-api-server`
- URL: `http://api-gateway-eu.phorest.com/third-party-api-server/api/business/{businessId}/branch/{branchId}/break/{breakId}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/phorest/apis/third-party-api/docs/api/business/:businessId/branch/:branchId/break/:breakId/put.ts> (a function with typed inputs; its response is checked against the schema)

Update and return a break for the specified business id, branch id and break id

## Path parameters

- `businessId` string, required
- `branchId` string, required
- `breakId` string, required

## Request body

- BreakUpdateRequest
  - `breakDate` string, date
  - `startTime` string
  - `endTime` string
  - `staffId` string
  - `roomId` string
  - `machineId` string
  - `label` string
  - `paidBreak` boolean
  - `breakId` string
  - `version` integer

## Response `200`

Break updated successfully

- BreakResponse
  - `breakDate` string, date
  - `startTime` string
  - `endTime` string
  - `staffId` string
  - `roomId` string
  - `machineId` string
  - `label` string
  - `paidBreak` boolean
  - `breakId` string
  - `version` integer

## Other responses

- `400`: Bad Request
- `404`: Business, branch or break with the specified ids don't exist
- `409`: Break has been updated since it was read
- `429`: Request rate limit exceeded. Current limit set to 100 rps.
- `500`: Internal Server Error

---

[API](https://skmtc.dev/phorest/apis/third-party-api.md) - [All operations](https://skmtc.dev/phorest/apis/third-party-api/llms.txt) - [OpenAPI document](https://skmtc.dev/phorest/apis/third-party-api/revisions/beea6ef29634?raw)
