curl --request GET \
--url https://api.service.getjusto.com/v3/tabs/{storeId}/shifts/{shiftId}
{
"success": true,
"data": {
"_id": "<string>",
"websiteId": "<string>",
"storeId": "<string>",
"startedAt": "2020-01-01T00:00:00.000Z",
"endedAt": "2020-01-01T00:00:00.000Z",
"createdById": "<string>",
"closedTabsTotalSales": 2,
"discountsAmount": 2,
"avgTicket": 2,
"eatersCount": 2,
"totalPayments": 2,
"cashRegisterShifts": [
{
"_id": "<string>",
"cashRegisterId": "<string>",
"startedAt": "2020-01-01T00:00:00.000Z",
"endedAt": "2020-01-01T00:00:00.000Z",
"startBalances": [
{
"paymentMethodId": "<string>",
"balance": 123
}
],
"endBalances": [
{
"paymentMethodId": "<string>",
"balance": 123
}
]
}
]
}
}
curl --request GET \
--url https://api.service.getjusto.com/v3/tabs/{storeId}/shifts/{shiftId}
{
"success": true,
"data": {
"_id": "<string>",
"websiteId": "<string>",
"storeId": "<string>",
"startedAt": "2020-01-01T00:00:00.000Z",
"endedAt": "2020-01-01T00:00:00.000Z",
"createdById": "<string>",
"closedTabsTotalSales": 2,
"discountsAmount": 2,
"avgTicket": 2,
"eatersCount": 2,
"totalPayments": 2,
"cashRegisterShifts": [
{
"_id": "<string>",
"cashRegisterId": "<string>",
"startedAt": "2020-01-01T00:00:00.000Z",
"endedAt": "2020-01-01T00:00:00.000Z",
"startBalances": [
{
"paymentMethodId": "<string>",
"balance": 123
}
],
"endBalances": [
{
"paymentMethodId": "<string>",
"balance": 123
}
]
}
]
}
}
The OpenAPI spec
The response is of type object
.