Adjust a time off allowance
Add or remove days on one person's allowance, with a type, an expiry date and a note.
POST https://cotlet.dev/api/v1/charliehr/members/{member_id}/time-off-allowance/adjust
Does what Edit Allowance > Adjust does on the Time tab. Open to Super Admins, Admins, Line Managers and Team Leads. amount is in days, or in hours for hourly workers. expires_on applies to increases only and cannot reach into the next leave year. Booked leave uses the adjustment with the soonest expiry first. Returns the new allowance. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| member_id string required | string | Id from list_team_members |
| direction string required | string | increase or decrease |
| amount number required | number | Days, or hours for hourly workers |
| adjustment_type string required | string | Type of Adjustment as listed in the form |
| expires_on string | string | YYYY-MM-DD, increases only |
| time_off_type string | string | Change the allowance of one time off type only |
| notes string | string | Note shown with the adjustment |
Request
curl -X POST https://cotlet.dev/api/v1/charliehr/members/tm_31c9e4/time-off-allowance/adjust \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"direction":"increase","amount":2,"adjustment_type":"Extra days","expires_on":"2026-12-31","notes":"October release weekend"}' result = client.call("charliehr", "adjust_time_off_allowance", {"member_id":"tm_31c9e4","direction":"increase","amount":2,"adjustment_type":"Extra days","expires_on":"2026-12-31","notes":"October release weekend"}) const result = await cotlet.call('charliehr', 'adjust_time_off_allowance', {"member_id":"tm_31c9e4","direction":"increase","amount":2,"adjustment_type":"Extra days","expires_on":"2026-12-31","notes":"October release weekend"}); cotlet call charliehr adjust_time_off_allowance --data '{"member_id":"tm_31c9e4","direction":"increase","amount":2,"adjustment_type":"Extra days","expires_on":"2026-12-31","notes":"October release weekend"}' Example response
{
"adjustment_id": "adj_3b71",
"member": "Ana Lopez",
"direction": "increase",
"amount": 2,
"adjustment_type": "Extra days",
"expires_on": "2026-12-31",
"notes": "October release weekend",
"allowance_before": 25,
"allowance_after": 27,
"unit": "days"
}