---
title: "Update an earning rate"
method: PATCH
path: "/earning_rates/{earning_rate}"
---

# Update an earning rate

`PATCH /earning_rates/{earning_rate}`

## Path parameters

- `earning_rate` string, required

## Request body

- object
  - `name` string
  - `active` boolean
  - `metadata` string, json

## Response `200`

200

- EarningRate
  - `id` string
  - `amount` string
  - `period` string — May be `hourly`, `annually`, or `piece`
  - `employee` string
  - `company` string — ID of the company that this earning rate relates to (via the employee).
  - `name` string
  - `workweek_hours` number, float
  - `active` boolean
  - `metadata` object

## Other responses

- `400` — 400

---

[API](https://skmtc.net/checkhq/apis/check-api.md) · [All operations](https://skmtc.net/checkhq/apis/check-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/checkhq/check-api/revisions/f46e28134549/schema)
