api
pos
Get POS sessions
get/api/pos/{id}/sessions
Path parameters
idstring required
Response
OK
_idstring required
The ID of the POS session
sessionNostring required
The number of the POS session
posIdstring required
The ID of the POS
openedstring date-time required
An ISO timestamp indicating when the POS session was opened
closedstring date-time
An ISO timestamp indicating when the POS session was closed
cashAtOpennumber float
Cash opening stock
totalAmountnumber float
The total revenue
includedTaxnumber float
The total taxes
totalByPaymentMethodobject
Total by payment methods. Values will only be inserted after closing the session
createdAtstring date-time
An ISO timestamp indicating when the POS session was created
updatedAtstring date-time
An ISO timestamp indicating when the POS session was updated