SmartGare
API referenceEndpoints

Read a departure's seats

The seats on the departure's busiest stretch, counted against the coach committed now: its capacity (null while nothing gives one), the seats sold, the seats held at a checkout, and the seats still free. **Required permission:** `traffic.seat:read`

GET/traffic/v1/departures/{departureId}/seats

The seats on the departure's busiest stretch, counted against the coach committed now: its capacity (null while nothing gives one), the seats sold, the seats held at a checkout, and the seats still free.

Required permission: traffic.seat:read

AuthorizationBearer <token>

In: header

Response Body

*/*

curl -X GET "https://example.com/traffic/v1/departures/{departureId}/seats"
{  "available": 0,  "capacity": 0,  "departure_id": "string",  "held": 0,  "sold": 0}