Update a pay schedule
Changed onUpdates a pay schedule. The version parameter from the GET response is required for optimistic concurrency; a mismatch returns 409 Conflict.
Effect on payrolls
Updating a pay schedule will delete any unprocessed regular payrolls whose pay period end date is today or in the future. Already-processed payrolls are not affected.
Pay schedules may be automatically adjusted
If an onboarded company misses their first pay date, Gusto will automatically adjust the pay schedule to the next available pay date.
Webhooks
- pay_schedule.updated: Fires when a pay schedule is successfully updated.
Related guides
- Create a pay schedule
- Manage Pay Schedules via API
scope: pay_schedules:write
Request
- Base URLhttps://api.gusto-demo.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The UUID of the company
The UUID of the pay schedule
Headers
Determines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used.
Request body
Example request
{
"version": "68934a3e9455fa72420237eb05902327",
"auto_payroll": true,
"frequency": "Twice per month",
"anchor_pay_date": "2021-10-15",
"anchor_end_of_pay_period": "2021-10-15",
"day_1": 15,
"day_2": 31,
"custom_name": "demo pay schedule",
"workweek_start_day": "Monday"
}Response
Successful
Changes
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
request property
deprecated - info
request property
deprecated - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
response property
day_1deprecated - info
response property
day_2deprecated
- info