await r7Connector.getSessionContext()
/
Returns the current session context of the underlying POS application. Includes information about store, user and till.
Example response object:
{
store: {
id: "1001",
name: "My store",
street: "Friedrichstraße 204",
postalCode: "10117",
city: "Berlin",
countryCode: "DE",
locale: "de_DE",
taxId: "123/456/789"
},
user: {
id: "1001",
name: "Cashier 1"
},
till: {
id: "1001"
}
}