Update a pay rate
curl --request PUT \
--url https://sandbox.nmbr.co/services/payroll/pay_rates/{pay_rate} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "Marketing Manager",
"type": "hourly",
"rate": "15",
"expected_hours_per_week": "40",
"effective_from": "2026-01-01"
}
'import requests
url = "https://sandbox.nmbr.co/services/payroll/pay_rates/{pay_rate}"
payload = {
"title": "Marketing Manager",
"type": "hourly",
"rate": "15",
"expected_hours_per_week": "40",
"effective_from": "2026-01-01"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: 'Marketing Manager',
type: 'hourly',
rate: '15',
expected_hours_per_week: '40',
effective_from: '2026-01-01'
})
};
fetch('https://sandbox.nmbr.co/services/payroll/pay_rates/{pay_rate}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.nmbr.co/services/payroll/pay_rates/{pay_rate}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'title' => 'Marketing Manager',
'type' => 'hourly',
'rate' => '15',
'expected_hours_per_week' => '40',
'effective_from' => '2026-01-01'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sandbox.nmbr.co/services/payroll/pay_rates/{pay_rate}"
payload := strings.NewReader("{\n \"title\": \"Marketing Manager\",\n \"type\": \"hourly\",\n \"rate\": \"15\",\n \"expected_hours_per_week\": \"40\",\n \"effective_from\": \"2026-01-01\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://sandbox.nmbr.co/services/payroll/pay_rates/{pay_rate}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"Marketing Manager\",\n \"type\": \"hourly\",\n \"rate\": \"15\",\n \"expected_hours_per_week\": \"40\",\n \"effective_from\": \"2026-01-01\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.nmbr.co/services/payroll/pay_rates/{pay_rate}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"Marketing Manager\",\n \"type\": \"hourly\",\n \"rate\": \"15\",\n \"expected_hours_per_week\": \"40\",\n \"effective_from\": \"2026-01-01\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<id>",
"object": "pay_rate",
"data": {
"work_assignment": {
"id": "<id>",
"object": "work_assignment",
"links": {
"self": "/work_assignments/<id>"
}
},
"title": "Marketing Manager",
"title_translations": null,
"title_translated": "Marketing Manager",
"type": "hourly",
"rate": 15,
"expected_hours_per_week": 40,
"is_editable": true,
"is_deletable": true,
"effective_from": "2026-01-01",
"earliest_valid_effective_to": "2026-01-01",
"effective_to": null,
"business_preset": null,
"expense_accounting_code": null,
"liability_accounting_code": null,
"external_ref": null,
"created_at": "2026-01-01T00:00:00.000000Z",
"updated_at": "2026-01-01T00:00:00.000000Z"
},
"links": {
"self": "/pay_rates/<id>"
}
}Pay Rates
Update a pay rate
PUT
/
pay_rates
/
{pay_rate}
Update a pay rate
curl --request PUT \
--url https://sandbox.nmbr.co/services/payroll/pay_rates/{pay_rate} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "Marketing Manager",
"type": "hourly",
"rate": "15",
"expected_hours_per_week": "40",
"effective_from": "2026-01-01"
}
'import requests
url = "https://sandbox.nmbr.co/services/payroll/pay_rates/{pay_rate}"
payload = {
"title": "Marketing Manager",
"type": "hourly",
"rate": "15",
"expected_hours_per_week": "40",
"effective_from": "2026-01-01"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: 'Marketing Manager',
type: 'hourly',
rate: '15',
expected_hours_per_week: '40',
effective_from: '2026-01-01'
})
};
fetch('https://sandbox.nmbr.co/services/payroll/pay_rates/{pay_rate}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.nmbr.co/services/payroll/pay_rates/{pay_rate}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'title' => 'Marketing Manager',
'type' => 'hourly',
'rate' => '15',
'expected_hours_per_week' => '40',
'effective_from' => '2026-01-01'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sandbox.nmbr.co/services/payroll/pay_rates/{pay_rate}"
payload := strings.NewReader("{\n \"title\": \"Marketing Manager\",\n \"type\": \"hourly\",\n \"rate\": \"15\",\n \"expected_hours_per_week\": \"40\",\n \"effective_from\": \"2026-01-01\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://sandbox.nmbr.co/services/payroll/pay_rates/{pay_rate}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"Marketing Manager\",\n \"type\": \"hourly\",\n \"rate\": \"15\",\n \"expected_hours_per_week\": \"40\",\n \"effective_from\": \"2026-01-01\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.nmbr.co/services/payroll/pay_rates/{pay_rate}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"Marketing Manager\",\n \"type\": \"hourly\",\n \"rate\": \"15\",\n \"expected_hours_per_week\": \"40\",\n \"effective_from\": \"2026-01-01\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<id>",
"object": "pay_rate",
"data": {
"work_assignment": {
"id": "<id>",
"object": "work_assignment",
"links": {
"self": "/work_assignments/<id>"
}
},
"title": "Marketing Manager",
"title_translations": null,
"title_translated": "Marketing Manager",
"type": "hourly",
"rate": 15,
"expected_hours_per_week": 40,
"is_editable": true,
"is_deletable": true,
"effective_from": "2026-01-01",
"earliest_valid_effective_to": "2026-01-01",
"effective_to": null,
"business_preset": null,
"expense_accounting_code": null,
"liability_accounting_code": null,
"external_ref": null,
"created_at": "2026-01-01T00:00:00.000000Z",
"updated_at": "2026-01-01T00:00:00.000000Z"
},
"links": {
"self": "/pay_rates/<id>"
}
}Authorizations
Body
application/json
The annual salary when type is salary, or the hourly wage when type is hourly.
For salary pay rates, rate is the annual salary (i.e. amount per year). For wage pay rates, rate is the hourly wage (i.e. amount per hour).
Editing is prevented when is_editable is false
Up to 2 decimal places.
Required range:
0 <= x <= 9999999Must be a multiple of 0.01The expected number of working hours per week. Must be greater than 0 for salary pay rates. Used to calculate the equivalent hourly rate from salaries for overtime.
For salary pay rates, expected_hours_per_week must be greater than 0.
Editing is prevented when is_editable is false
Up to 2 decimal places.
Required range:
0 <= x <= 168Must be a multiple of 0.01Hide child attributes
Hide child attributes
Response
200 - application/json
OK
Hide child attributes
Hide child attributes

