Update an employee
Updates an employee. Properties the request does not name are left unchanged, and passing null clears one. Supplying roles replaces every role the employee holds.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
^[0-9]+$Body
Values for updating an employee. An omitted property is left unchanged, and an explicit null clears a property that permits one.
How the employee signs in at the point of sale, or null to sign in with a PIN. Every method the rule names must have its credential set on the employee.
Barcode on the badge the employee scans to sign in at the point of sale, or null for none. Unique within the banner. A deactivated employee cannot hold one unless the same request reactivates them.
When the employee was deactivated. Null means active, so setting it back to null reactivates the employee. Deactivating releases the employee's PIN and barcode so another employee can take them.
Employee's email address, or null for none. Unique within the banner.
254Employee's first name.
Employee's last name.
Numeric PIN the employee enters to sign in at the point of sale, or null for none. Six digits, and unique within the banner. A deactivated employee cannot hold one unless the same request reactivates them.
6^[0-9]+$Roles the employee holds. Supplying this replaces every role the employee holds.
200Response
A staff member at a store, to whom point-of-sale activity can be attributed.
Unique identifier for the record.
Effective rule that determines how the employee authenticates at the POS.
When the record was created.
When the employee was deactivated, or null when the employee is active.
Whether the employee can be changed. Employees Vori creates and manages are not editable.
Employee's email address, or null when none is configured.
254Employee's first name.
Employee's last name.
Roles assigned to the employee.
When the record was last changed.
Whether the employee exists only to attribute orders and cannot sign in at a terminal.
Barcode on the badge the employee scans to sign in at the point of sale, or null when none is configured. Returned only when requested with include=badge_barcode by a caller holding the employees:read_credentials permission, and absent from the response otherwise.
Numeric PIN used by the employee for POS authentication, or null when none is configured. Returned only when requested with include=pin by a caller holding the employees:read_credentials permission, and absent from the response otherwise.
6^[0-9]+$