SmartGare
API referenceEndpoints

Retire a ticket counter

Retires a counter: it is kept with its code, no new shift opens there, and an open shift there is still counted and closed. **Required permission:** `referential.station:write`

POST/referential/v1/counters/{id}/retirement

Retires a counter: it is kept with its code, no new shift opens there, and an open shift there is still counted and closed.

Required permission: referential.station:write

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

*/*

*/*

curl -X POST "https://example.com/referential/v1/counters/string/retirement"
{  "code": "string",  "id": "string",  "retired_at": "2019-08-24T14:15:22Z"}