Updates the first name, chosen name, last name, external employee ID, and/or
passcode of a restaurant employee. The PATCH
operation cannot
update any other employee information.
A JSON object containing the employee information that you are updating. You can update an employee's:
firstName
- First name.
chosenName
- Chosen name.
lastName
- Last name.
externalEmployeeId
- External employee identifier.
passcode
- The passcode for access to Toast POS devices.
All values are optional. You must include at least one
value. Each value that you include must contain information
(not null). If you include the passcode
value to update
an employee's passcode you must include the employee's
current passcode in the currentPasscode
value.
Returns the updated Toast platform employee record.
The Toast platform GUID or external identifier was malformed, or the body of the request was malformed.
The Toast platform GUID or external identifier does not match any employees at the current restaurant.
An unexpected internal error occurred. There is a
requestId
attached to this error that can be referenced
by Toast support.
{- "firstName": "Mynewfirstname",
- "chosenName": "Mynewchosenname",
- "lastName": "Mynewlastname",
- "externalEmployeeId": "1234567890",
- "passcode": "1234",
- "currentPasscode": "1111"
}
{- "guid": "string",
- "entityType": "string",
- "externalId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "modifiedDate": "2019-08-24T14:15:22Z",
- "deletedDate": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "chosenName": "string",
- "lastName": "string",
- "email": "string",
- "phoneNumber": "string",
- "phoneNumberCountryCode": "string",
- "passcode": "string",
- "externalEmployeeId": "string",
- "deleted": true,
- "jobReferences": [
- {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}
], - "wageOverrides": [
- {
- "wage": 0,
- "jobReference": {
- "guid": "string",
- "entityType": "string",
- "externalId": "string"
}
}
], - "v2EmployeeGuid": "string"
}