SmartGare
API referenceEndpoints

Open a cash-register session

Opens a register with a declared float at the workstation of the actor's own open agent session. **Required permission:** `ticketing.cash-register:write`

POST/ticketing/v1/cash-registers

Opens a register with a declared float at the workstation of the actor's own open agent session.

Required permission: ticketing.cash-register:write

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*OpenCashRegisterSessionRequest

Response Body

*/*

*/*

curl -X POST "https://example.com/ticketing/v1/cash-registers" \  -H "Content-Type: application/json" \  -d '{    "declared_float": 0  }'
{  "agent_session_id": "string",  "currency": "string",  "declared_float": 0,  "id": "string",  "opened_at": "2019-08-24T14:15:22Z"}