Skip to content

Get available add-ons

GET/journeys/{journeyId}/available-addons

Auth: X-API-Key headerhttps://warpdrive.staging.transferz.com/partners

Retrieves a list of add-ons available to be added through journey changes for the current journey

Lists the add-ons that can still be added to a journey through a journey change, with how many are already booked. Returns 204 when none are available.

Guide: Change a journey

Path parameters

  • journeyIdinteger · int64required

    The id of the journey to retrieve

Headers

  • X-Request-IDstring

    The optional (ideally unique) request identifier used for later analysis or diagnostics

Responses

OK

  • combinedSeatBasedAddonCapacityinteger · int32
  • availableTravelAddonsarray of objects

Errors this endpoint can return

  • When: The journey belongs to another partner.

    What to do: Check that the id belongs to your company and that you use the key of the right user. Ask Transferz to check the account's permissions if the id is correct.

Certification case

Guide