Product EngineeringFeaturesB2B CollectionFrontendlivehealth-frontend

API Reference

Trip management endpoints used by B2B Collection in livehealth-frontend (b2b-logistics)

👤 Utsav Katiyar📅 Updated: Apr 7, 2026🏷️ feature

API Reference (frontend contract)

All paths below are used by the B2B Collection screens (B2bCollection/). They are called with the app’s normal API base. b2b-logistics is the trip_type segment for organization-site logistics APIs.

Base: api-v3/trip-management/b2b-logistics/


Locations (stops)

MethodPathUsed for
GETlocation/listList stops
POSTlocation/newCreate stop

Routes

MethodPathUsed for
GETroutes/listList routes
POSTroutes/newCreate route
PUTroutes/{routeId}/updateUpdate route
PATCHroutes/{routeId}/disableDisable route

Pickup persons

MethodPathUsed for
GETpickup-persons/listPickup partners / visiting persons

Trips

MethodPathUsed for
GETtrips/list?startDate=&endDate=&status=Trip list
GETtrips/{tripId}/detailsTrip detail
POSTtrips/newCreate single trip
POSTtrips/new/bulkCreate multiple scheduled instances (recurrence)
PUTtrips/{id}/updateUpdate single trip
PUTtrips/{id}/update/bulkUpdate recurring series
PUTtrips/{tripId}/cancelledCancel trip
GETtrips/{tripId}/{pickupPersonId}/trailTrail for maps / audit

Source: TripManagement/utils/services.ts, RouteManagement/utils/services.ts, B2bCollection/utils/services.ts.


Other (supporting)

PathUsed for
GET /getOrganizationAll/Organization list for stop/route context (B2bCollection/utils/services.ts)

On this page