PUT /v2/labor/workweek-configs/{id}
Updates a WorkweekConfig
.
Servers
- https://connect.squareup.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
id |
String | Yes |
The UUID for the |
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 |
---|---|---|---|
workweek_config |
Object | Yes |
Sets the day of the week and hour of the day that a business starts a workweek. This is used to calculate overtime pay. |
workweek_config.id |
String | No |
The UUID for this object. |
workweek_config.start_of_day_local_time |
String | Yes |
The local time at which a business week ends. Represented as a
string in |
workweek_config.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 not provided, Square executes a blind write; potentially overwriting data from another write. |
workweek_config.start_of_week |
String | Yes |
The day of the week on which a business week ends for compensation purposes. |
workweek_config.created_at |
String | No |
A read-only timestamp in RFC 3339 format; presented in UTC. |
workweek_config.updated_at |
String | No |
A read-only timestamp in RFC 3339 format; presented in UTC. |
How to start integrating
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.