1. trip
DeltaX API Docs
  • Webhook Integration Documentation
  • trip
    • Get Trip by ID
      GET
    • Update Trip
      PUT
    • Revert Trip
      POST
    • Create Incidence
      POST
    • List Trips
      GET
  • route
    • List Routes
      GET
    • Get Route by ID
      GET
    • List Warehouses
      GET
    • Get Warehouse by ID
      GET
    • List Service Slots
      GET
    • Create Service Slot
      POST
  • company
    • List Transport Companies
      GET
    • Get Transport Company by ID
      GET
  • fleet
    • List Transport Units
      GET
    • Get Transport Unit by ID
      GET
    • List Truckers
      GET
    • Get Trucker by ID
      GET
    • List Dollies
      GET
    • Get Dolly by ID
      GET
  • rates
    • List Rates
      GET
  • webhook
    • Register Webhook Callback
      GET
    • List Webhook Callback Registrations
      GET
    • Update Webhook Callback Registration
      PUT
    • Delete Webhook Callback Registration
      DELETE
  • Schemas
    • Schemas
    • Response
      • Success
      • SuccessCreated
      • InternalServerError
      • BadRequest
      • NotFound
      • Unauthenticated
      • TripUpdateSuccess
      • IncidenceCreateSuccess
      • TripSuccess
      • TripsListSuccess
      • RouteSuccess
      • RoutesListSuccess
      • WarehouseSuccess
      • WarehousesListSuccess
      • TransportCompanySuccess
      • TransportCompaniesListSuccess
      • TransportUnitSuccess
      • TransportUnitsListSuccess
      • TruckerSuccess
      • TruckersListSuccess
      • DollySuccess
      • DolliesListSuccess
      • WindowAvailabilitySuccess
      • Unauthorized
    • IncidenceCreate
    • TripUpdate
    • WebhookRegistrationUpdate
    • RoutesListResponse
    • Route
    • WindowAvailabilityResponse
    • CreateServiceSlotRequest
    • CreateServiceSlotResponse
    • ServiceSlot
    • DolliesListResponse
    • Dolly
    • DollyResponse
    • TruckersListResponse
    • Trucker
    • TruckerResponse
    • TransportUnitsListResponse
    • TransportUnit
    • TransportUnitResponse
    • TransportCompaniesListResponse
    • TransportCompany
    • TransportCompanyResponse
    • WarehousesListResponse
    • Warehouse
    • WarehouseResponse
    • RouteResponse
    • TripsListResponse
    • Trip
    • PaginationInfo
    • TripResponse
    • WindowAvailability
    • IncidenceCreateResponse
    • ClientIncidence
    • TripUpdateResponse
    • TripRevert
    • TripRevertResponse
    • ClientTripUpdate
    • CallbackRegistrationUpdateResponse
    • CallbackRegistrationDeleteResponse
    • WebhookRegistration
    • CallbackRegistrationsListResponse
  1. trip

Revert Trip

Prod Env
https://fmsapi.deltax.la/clients
Prod Env
https://fmsapi.deltax.la/clients
POST
/trip/{tripId}/revert
Revert the trip development to a previous point. All the original tracking dates and the client-provided dates from the revert point onwards are unset, the corresponding geofence visits are removed from the trip (and unlinked so tracking can match them again), the automatically performed tasks are undone and the trip status is reverted accordingly. Trips already cancelled or finished cannot be reverted.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params

Body Params application/jsonRequired

Examples

Responses

🟢200TripRevertSuccess
application/json
Bodyapplication/json

🟠400BadRequest
🟠401Unauthenticated
🟠403Unauthorized
🟠404NotFound
🟠409Conflict
🔴500InternalServerError
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://fmsapi.deltax.la/clients/trip/0017228764/revert' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "revertPoint": "originArrival"
}'
Response Response Example
200 - Success
Success
{"message":"Trip reverted successfully","data":{"tripId":"0017228764","revertPoint":"originArrival","clientTripUpdate":{"_id":"507f1f77bcf86cd799439014","status":"done","type":"revert","clientId":"507f1f77bcf86cd799439011","clientCode":"CLIENT001","tripId":"0017228764","tripRevertData":{"revertPoint":"originArrival"},"loadingOrderId":"507f1f77bcf86cd799439012","created":"2024-01-15T10:30:00.000Z"}}}
Modified at 2026-07-10 16:46:05
Previous
Update Trip
Next
Create Incidence
Built with