You are viewing an old version of the API
Update break type

Updates an existing BreakType

Required permissions TIMECARDS_SETTINGS_WRITE TIMECARDS_SETTINGS_READ

Path Parameters

Name Description
id
string

Required

UUID for the BreakType being updated.

Request Body

Name Description
break_type
Break​Type

Required

The updated BreakType.

Response Fields

Name Description
break_type
Break​Type

The response object.

errors
Error [ ]

Any errors that occurred during the request.

Examples

You are viewing an old version of the API
PUT /v2/labor/break-types/{id}
cURL
  • cURL
  • Ruby
  • Python
curl https://connect.squareup.com/v2/labor/break-types/{id} \
  -X PUT \
  -H 'Square-Version: 2019-11-20' \
  -H 'Authorization: Bearer ACCESS_TOKEN' \
  -d '{
    "break_type": {
      "location_id": "26M7H24AZ9N6R",
      "break_name": "Lunch",
      "expected_duration": "PT50M",
      "is_paid": true,
      "version": 1
    }
  }'
Response JSON
{
  "break_type": {
    "id": "Q6JSJS6D4DBCH",
    "location_id": "26M7H24AZ9N6R",
    "break_name": "Lunch",
    "expected_duration": "PT50M",
    "is_paid": true,
    "version": 2,
    "created_at": "2018-06-12T20:19:12Z",
    "updated_at": "2019-02-26T23:12:59Z"
  }
}

Share Feedback

Thanks for visiting the Square API documentation. What's on your mind?