• Example searches: “transaction”, “CreateOrder”, “/v2/locations”, “inventory”, “delete customer”

You are viewing an old version of the API
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 is returned on a successful update. Learn about Troubleshooting the Team API.

Name Description
team_member_id
string

Required

The ID of the team member for which to update the WageSetting object.

Name Description
wage_setting
WageSetting

Required

The new WageSetting object that completely replaces the existing one.

Response Fields

Name Description
wage_setting
WageSetting

The successfully updated WageSetting object.

errors
Error [ ]

The errors that occurred during the request.

Examples

You are viewing an old version of the API
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-12-15' \
  -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"
  }
}