Lydira API
TR

Import guides

Import guides

Everything you can push into Lydira, one page per kind of import.

Each page below names its endpoints, its fields and who a booking bills, with a body you can post. The pages render GET /api/v1/imports/entities, which is the authoritative version and moves with the product.
  • external_id is required on every row. It is your own key in your own system, and it is what makes a retry safe.
  • Dry-run is the same code path. POST …/validate runs it with nothing persisted, so green there means green on the real thing.
  • A bad row fails alone. The rest of the batch still imports, and the failed row comes back with a per-field reason.
  • Your agency may require more. Fields a company has made mandatory in Lydira bind an import too. GET /api/v1/imports/entities/{key}?company_id=… lists them under company_required, with the import field that satisfies each one.

One page per kind of import

  • Tickets

    Push ticket sales from your own system, or send the GDS ticketing-printer file.

    tickets

  • Hotel stays

    Hotel bookings with their rooms, guests and pricing lines.

    hotel_stays

  • Transfers

    Pick-ups and drop-offs, with flight tracking on the arrival leg.

    transfers

  • Cruises

    Cruise bookings with their cabins.

    cruises

  • Car rentals

    Hire cars with pick-up and return.

    car_rentals

  • Tours

    Tour departures first, then the seats booked on them.

    tour_departurestour_bookings

  • Yacht charters

    Charters on a vessel you already have in Lydira, with their guests and pricing lines.

    charters

  • Bus and rail tickets

    Tickets sold in the carrier's name: legs, passengers, seats and the carrier's fare.

    bus_bookingsrail_bookings

  • Visa cases

    One applicant's visa file, billed to the customer who pays for it.

    visa_cases

  • Events

    Congresses, launches and incentive groups, priced as one job for one buyer.

    events

  • Customers, suppliers and leads

    The people and companies your bookings point at. Import them first.

    customerssuppliersleads

  • Opening balances

    Open invoices and supplier bills brought over from your previous system.

    operator_invoicessupplier_bills

Read and broadcast only

These page through the change feed and fire webhooks, but a POST to one answers 422 entity_not_writable.