Create an employee
Creates an employee who can sign in at the point of sale and be credited for the orders they ring up.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Values for creating an employee.
Employee's first name.
Employee's last name.
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.
Employee's email address, or null for none. Unique within the banner.
254Numeric 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]+$