Finance
List Cash Shifts
Till sessions opened and closed on terminals.
GET
/
finance
/
cash-shifts
List Cash Shifts
curl --request GET \
--url https://integrations.clopos.com/open-api/v2/finance/cash-shifts \
--header 'x-token: <api-key>'const options = {method: 'GET', headers: {'x-token': '<api-key>'}};
fetch('https://integrations.clopos.com/open-api/v2/finance/cash-shifts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://integrations.clopos.com/open-api/v2/finance/cash-shifts"
headers = {"x-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"venue_id": 123,
"cid": "<string>",
"shift_no": 123,
"terminal_id": 123,
"opened_by_user_id": 123,
"closed_by_user_id": 123,
"initial_amount": 123,
"closed_amount": 123,
"opening_diff": 123,
"diff": 123,
"status": "<string>",
"description": "<string>",
"accounting_day_opened_at": "2023-12-25",
"accounting_day_closed_at": "2023-12-25",
"opened_at": "2023-11-07T05:31:56Z",
"closed_at": "2023-11-07T05:31:56Z"
}
]
}Was this page helpful?
⌘I
List Cash Shifts
curl --request GET \
--url https://integrations.clopos.com/open-api/v2/finance/cash-shifts \
--header 'x-token: <api-key>'const options = {method: 'GET', headers: {'x-token': '<api-key>'}};
fetch('https://integrations.clopos.com/open-api/v2/finance/cash-shifts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://integrations.clopos.com/open-api/v2/finance/cash-shifts"
headers = {"x-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"venue_id": 123,
"cid": "<string>",
"shift_no": 123,
"terminal_id": 123,
"opened_by_user_id": 123,
"closed_by_user_id": 123,
"initial_amount": 123,
"closed_amount": 123,
"opening_diff": 123,
"diff": 123,
"status": "<string>",
"description": "<string>",
"accounting_day_opened_at": "2023-12-25",
"accounting_day_closed_at": "2023-12-25",
"opened_at": "2023-11-07T05:31:56Z",
"closed_at": "2023-11-07T05:31:56Z"
}
]
}