Skip to content

Powered by Grav CMS + Helios Theme

Point of sale staff (add-on)

Who may sell at a till, their PINs, and unlocking somebody after wrong tries.

All take kahunacart.pos.manage. A PIN is 4 to 8 numbers and is never shown again. Setting or clearing one signs that person out at every till. See Staff and PINs.

List the staff

GET /api/v1/kahunacart/pos/admin/staff Permission kahunacart.pos.manage

Every account that may sell at the till or already has a PIN: whether it has a PIN, whether it is locked out after wrong PINs and until when, and what it may do at the till (use, refund, manage). PINs themselves are never shown.

Set a staff member's PIN

PUT /api/v1/kahunacart/pos/admin/staff/{username}/pin Permission kahunacart.pos.manage

Set or replace somebody's till PIN, 4 to 8 numbers. Anybody signed in at a till as them is signed out. The account still needs the Sell at the till permission.

Parameters

Name Type Description
username required string The Grav account's username.
pin required string The new PIN.

Clear a staff member's PIN

DELETE /api/v1/kahunacart/pos/admin/staff/{username}/pin Permission kahunacart.pos.manage

Remove somebody's till PIN, so they cannot sign in at a till until they have a new one. Anybody signed in at a till as them is signed out.

Parameters

Name Type Description
username required string The Grav account's username.

Unlock a staff member

POST /api/v1/kahunacart/pos/admin/staff/{username}/unlock Permission kahunacart.pos.manage

Let somebody locked out after five wrong PINs try again now, rather than after the five minutes.

Parameters

Name Type Description
username required string The Grav account's username.