Actions77
- Employee Actions
- Attendance Actions
- Employee Checkin Actions
- Expense Claim Actions
- Holiday List Actions
- Leave Allocation Actions
- Leave Application Actions
- Salary Slip Actions
- Shift Assignment Actions
- Custom DocType Actions
- Frappe Method Actions
Shift Assignment → Update
AI-generatedSummary
Update an existing Shift Assignment document in ERPNext HRMS by specifying its document name and providing the updated data as JSON.
Inputs
- API Version — Select the Frappe REST API version to use for the request: 'v1' (stable) or 'v2' (Frappe v16). Defaults to 'v1'.
- Document Name (required) — The identifier (name) of the Shift Assignment document to update.
- Data JSON (required) — The JSON-formatted payload containing the fields and values to update in the document.
Output shape
a single JSON object representing the updated Shift Assignment document.
The operation returns the full updated document data as a JSON object. Errors during update will throw exceptions unless 'Continue On Fail' is enabled.
Examples
Example 1: Update Shift Assignment 'SA-0001' changing shift start time
Set resource to 'Shift Assignment', operation to 'Update', input 'SA-0001' as Document Name, and provide JSON like {"shift_start": "09:00:00"} as Data JSON.