Open a new POS session
POST/pos/sessions/open
Opens a new cashier session on a specific register with a declared opening float. If the authenticated user already has an open session, the request is rejected and they are redirected to the existing session. On success, a session number is generated and the user is directed to the checkout screen.
Request
Request body
Content type application/json (required).
| Field | Type | Required | Description |
|---|---|---|---|
register_id | integer | Yes | ID of an active register from the pos_registers table that this session will be tied to. |
opening_float | number | Yes | Cash amount placed in the till at session start, used to calculate variance at close. Minimum: 0 |
notes | string | No | Optional notes about this session (e.g. handover remarks). |
Example
{
"register_id": 3,
"opening_float": 200.0,
"notes": "Morning shift"
}
Responses
302 Redirect to checkout on success, or to existing open session if one exists
422 Validation error
Example request
curl -X POST "https://{tenant}.faciotech.net/api/v1/pos/sessions/open" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"register_id": 3, "opening_float": 200.0, "notes": "Morning shift"}'