PUT /v2/labor/break-types/{id}

Updates an existing BreakType.

Servers

Path parameters

Name Type Required Description
id String Yes

The UUID for the BreakType being updated.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
break_type Object Yes

A defined break template that sets an expectation for possible Break instances on a Shift.

break_type.id String No

The UUID for this object.

break_type.location_id String Yes

The ID of the business location this type of break applies to.

break_type.expected_duration String Yes

Format: RFC-3339 P[n]Y[n]M[n]DT[n]H[n]M[n]S. The expected length of this break. Precision less than minutes is truncated.

break_type.version Integer No

Used for resolving concurrency issues. The request fails if the version provided does not match the server version at the time of the request. If a value is not provided, Square's servers execute a "blind" write; potentially overwriting another writer's data.

break_type.created_at String No

A read-only timestamp in RFC 3339 format.

break_type.is_paid Boolean Yes

Whether this break counts towards time worked for compensation purposes.

break_type.break_name String Yes

A human-readable name for this type of break. The name is displayed to employees in Square products.

break_type.updated_at String No

A read-only timestamp in RFC 3339 format.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.