Update wage setting
PUT
/v2/team-members/{team_member_id}/wage-setting
Creates or updates a WageSetting
object.
The object is created if a
WageSetting
with the specified team_member_id
does not exist. Otherwise,
it fully replaces the WageSetting
object for the team member.
The WageSetting
will be returned upon successful update.
Learn about Troubleshooting the Teams API.
Name | Description |
---|---|
team_
Required
|
The ID of the team member to update the |
Name | Description |
---|---|
wage_
Required
|
The new |
Response Fields
Name | Description |
---|---|
wage_
|
The successfully updated |
errors
|
The errors that occurred during the request. |
Examples
PUT
/v2/team-members/{team_member_id}/wage-setting
cURL
- cURL
- Ruby
- Python
- C#
- Java
- PHP
- Node.js
curl https://connect.squareup.com/v2/team-members/-3oZQKPKVk6gUXU_V5Qa/wage-setting \
-X PUT \
-H 'Square-Version: 2021-01-21' \
-H 'Authorization: Bearer ACCESS_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"wage_setting": {
"is_overtime_exempt": true,
"job_assignments": [
{
"job_title": "Manager",
"pay_type": "SALARY",
"annual_rate": {
"amount": 3000000,
"currency": "USD"
},
"weekly_hours": 40
},
{
"job_title": "Cashier",
"pay_type": "HOURLY",
"hourly_rate": {
"amount": 1200,
"currency": "USD"
}
}
]
}
}'
Response JSON
{
"wage_setting": {
"team_member_id": "-3oZQKPKVk6gUXU_V5Qa",
"job_assignments": [
{
"job_title": "Manager",
"pay_type": "SALARY",
"hourly_rate": {
"amount": 1443,
"currency": "USD"
},
"annual_rate": {
"amount": 3000000,
"currency": "USD"
},
"weekly_hours": 40
},
{
"job_title": "Cashier",
"pay_type": "HOURLY",
"hourly_rate": {
"amount": 1200,
"currency": "USD"
}
}
],
"is_overtime_exempt": true,
"version": 1,
"created_at": "2019-07-10T17:26:48+00:00",
"updated_at": "2020-06-11T23:12:04+00:00"
}
}