> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Update Wage Setting

> Creates or updates a `WageSetting` object.

`square.updateWageSetting` creates or updates a `WageSetting` object.

## Example

```ts automations/square-update-wage-setting.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { square } from "automate.ax/square"

export default automation("Update Square Wage Setting", () => {
  onDashboardRun({ title: "Update Square Wage Setting" })

  square.updateWageSetting({
    teamMemberId: "team_member_id",
    wageSetting: {
      jobAssignments: [
        {
          jobTitle: "Manager",
          payType: "SALARY",
          annualRate: {
            amount: BigInt("3000000"),
            currency: "USD",
          },
          weeklyHours: 40,
        },
        {
          jobTitle: "Cashier",
          payType: "HOURLY",
          hourlyRate: {
            amount: BigInt("2000"),
            currency: "USD",
          },
        },
      ],
      isOvertimeExempt: true,
    },
  })
})
```

## Inputs

Every input accepts a compatible signal. It requires `EMPLOYEES_WRITE`.

| Field          | Type                 | Required | Default | Description                                                                                                                                                                                                                                                                                                                                                                                    |
| -------------- | -------------------- | -------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `teamMemberId` | `string`             | Yes      | —       | The ID of the team member for which to update the `WageSetting` object.                                                                                                                                                                                                                                                                                                                        |
| `wageSetting`  | `Square.WageSetting` | Yes      | —       | The complete `WageSetting` object. For all job assignments, specify one of the following: - `job_id` (recommended) - If needed, call ListJobs to get a list of all jobs. Requires Square API version 2024-12-18 or later. - `job_title` - Use the exact, case-sensitive spelling of an existing title unless you want to create a new job. This value is ignored if `job_id` is also provided. |

Use the official [UpdateWageSetting reference](https://developer.squareup.com/reference/square/team-api/update-wage-setting) for provider field semantics and limits.

## Output

Returns the official `Square.UpdateWageSettingResponse` response as a codec-safe object. Square integer money amounts remain `bigint` values.
