Skip to main content
PUT
/
journeys
/
seat
Update CTM seat.
curl --request PUT \
  --url https://b2b-api.markoub.dev/journeys/seat \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "journeyId": "<string>",
  "searchId": "<string>",
  "tripBusProfileId": 123,
  "ticketNumber": "<string>",
  "seatNumber": 123
}
'
true

Authorizations

Authorization
string
header
required

Default authentication mechanism

Body

application/json
journeyId
string
required

The journey ID retreived from the search

searchId
string
required

The search ID retreived from the search

tripBusProfileId
number
required

The CTM trip bus profile ID received from the seat-map endpoint

ticketNumber
string
required

The CTM ticket number received from the seat-map endpoint

seatNumber
number
required

The seat number to update to

Response

A boolean indicating if the seat was updated successfully

The response is of type boolean.