Session
Update a session by ID
Updates an existing session record.
patch/v1/session/{id}
Request
- Base URL: https://api.finalpos.com (the document declares no server; this is the origin it was published from)
- URL: https://api.finalpos.com/v1/session/{id}
- Auth: API key in header x-api-key
Path parameters
idstring required
Session ID
Request body
Example request
{
"stationId": "507f1f77bcf86cd799439011",
"sessionNumber": "S-2025-001",
"openedBy": "John Doe",
"closedBy": "Jane Smith",
"openTime": "2025-01-29T09:00:00.000Z",
"closeTime": "2025-01-29T17:00:00.000Z",
"openingAmount": 20000,
"closingReportData": "{}",
"notes": [
"Opened on time",
"Register balanced"
],
"closingAmounts": {
"cash": 50000,
"card": 150000,
"finalPay": 20000
},
"closingNote": "All transactions verified",
"openingNote": "Starting new shift",
"currency": "USD"
}Response
The session has been successfully updated.
Example response
{
"id": "o1p2q3r4s5t6u7v8w9x0y1z2",
"createdAt": "2025-12-07T19:31:48.436+00:00",
"updatedAt": "2025-12-07T19:35:48.436+00:00",
"companyId": "o1p2q3r4s5t6u7v8w9x0y1z2",
"stationId": "507f1f77bcf86cd799439011",
"sessionNumber": "S-2025-001",
"openedBy": "John Doe",
"closedBy": "Jane Smith",
"openTime": "2025-01-29T09:00:00.000Z",
"closeTime": "2025-01-29T17:00:00.000Z",
"openingAmount": 20000,
"closingReportData": "{}",
"notes": [
"Opened on time",
"Register balanced"
],
"closingAmounts": {
"cash": 50000,
"card": 150000,
"finalPay": 20000
},
"closingNote": "All transactions verified",
"openingNote": "Starting new shift",
"currency": "USD",
"closingAmount": 25000
}Changes
No recorded changes to this operation across all 1 revision of this API.