Contents
On this page
Unlock Register - Plugixa POS for WooCommerce
POST /plugixa-pos/v1/staff/unlock
Unlock the till with the signed-in user’s PIN.
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/unlock
Request body
Content type: application/json
| Field | Type | Required | Description |
|---|---|---|---|
pin |
string |
Yes | 4 to 6 digits. |
{
"pin": "4826"
}
Responses
200 OK.
{
"success": true,
"data": {
"locked": false
}
}
Errors
| Status | Code | When |
|---|---|---|
403 |
plugixa_pos_pin_wrong |
Wrong PIN. |
429 |
plugixa_pos_pin_locked |
Five wrong PINs: PIN checks for that user, or from that address, are locked for 15 minutes. |
Plus the errors every endpoint can return.
Quick Links
Share