Update a payroll
Changed onUpdates the specified payroll. For payrolls attached to a correction as replacements, payday may change only within the same bounds enforced at creation, and nested items and contractor_payments must keep payment_method manual. correction may be included only to restate the payroll's current correction ID; a different value is rejected.
patch/payrolls/{payroll}
Request
- Base URLhttps://sandbox.checkhq.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
payrollstring required
ID of the payroll to update.
Query parameters
include_itemsboolean
Update related payroll items directly on this payroll.
include_contractor_paymentboolean
Update related contractor payments directly on this payroll.
Request body
Response
200
object required
Changes
- info
added the new optional request property
- info