# system.kanoa.shift.updateShiftField(shiftId, field, value, userId)

Updates the passed field value for the given shift.

---
### Parameters
**shiftId** `Integer`: Id of the shift to update<br />
**field** `String`: Valid options are shiftNameId, assetId, shiftColor<br />
**value** `pyObject`: Value to update to<br />
**userId** `Integer`: Id of user executing the function<br />

---
### Returns
**# of records modified** `Integer`<br />

---
### Example
```python
retVal = system.kanoa.shift.updateShiftField(1, 'shiftNameId', 3, 123)
```
