patch
https://node.friday-staging.com/partner/v1/scheduled-earnings/
Change the amount, note or rule of a scheduled earning that is not on a payroll yet (status: idle, state created or missed; a new date or rule on a missed one makes it created again). The worker and the earning, its code included, stay fixed: to schedule a different earning, delete this one and create another. One pending on a draft payroll cannot be edited here: delete it, which takes its line off that draft, and schedule another; a paid one cannot change. The edit is refused when it would duplicate another unpaid earning of the same worker, earning and rule. Emits scheduled_earning.updated. Requires the payroll plan or higher.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
