Contents
Lock Register - Plugixa POS for WooCommerce
POST /plugixa-pos/v1/staff/lock
Lock the till. The lock belongs to the login session: until it is unlocked, every route of the plugin answers 423 except unlock, switch cashier and list cashiers.
Needs a user with the plugixa_pos_sell capability (signed in with an Application Password, or the login cookie with an X-WP-Nonce header). Administrators hold it; other roles only when you grant it.
Request
POST https://your-site.example/wp-json/plugixa-pos/v1/staff/lock
Responses
200 OK.
{
"success": true,
"data": {
"locked": true
}
}
Errors
This endpoint has no errors of its own.
Plus the errors every endpoint can return.
Quick Links
Share