List what a worker can be scheduled for

What POST /scheduled-earnings accepts for one employee or contractor, as the Friday app's Run Payroll offers it: the standard dollar earnings (earnings, send value as earning), and on a plan with custom codes, for an employee, the company's active custom earning codes and custom reimbursement codes (send custom_earning or custom_reimbursement as earning with code set to the id). A custom earning code with hours_required: true is paid by hours and cannot be scheduled. Read it before scheduling, and again when a create answers 400 naming it. Requires the payroll plan or higher.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
integer
required

The employee or contractor the earning is for, by employee_id (GET /employees finds a worker by name).

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json