DeltaX Client REST HTTP API
    • Webhook Integration Documentation
    • trip
      • Get Trip by ID
      • Update Trip
      • Create Incidence
      • List Trips
    • route
      • List Routes
      • Get Route by ID
      • List Warehouses
      • Get Warehouse by ID
      • List Window Availability
    • company
      • List Transport Companies
      • Get Transport Company by ID
    • fleet
      • List Transport Units
      • Get Transport Unit by ID
      • List Truckers
      • Get Trucker by ID
      • List Dollies
      • Get Dolly by ID
    • rates
      • List Rates
    • webhook
      • List Webhook Callback Registrations
      • Update Webhook Callback Registration
    • 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
      • TripUpdateResponse
      • ClientTripUpdate
      • ClientIncidence
      • IncidenceCreateResponse
      • Trip
      • TripResponse
      • TripsListResponse
      • PaginationInfo
      • Route
      • RouteResponse
      • RoutesListResponse
      • Warehouse
      • WarehouseResponse
      • WarehousesListResponse
      • TransportCompany
      • TransportCompanyResponse
      • TransportCompaniesListResponse
      • TransportUnit
      • TransportUnitResponse
      • TransportUnitsListResponse
      • Trucker
      • TruckerResponse
      • TruckersListResponse
      • Dolly
      • DollyResponse
      • DolliesListResponse
      • WindowAvailability
      • WindowAvailabilityResponse
      • WebhookRegistration
      • WebhookRegistrationUpdate
      • CallbackRegistrationsListResponse
      • CallbackRegistrationUpdateResponse

    TripUpdateResponse

    Response returned after successfully updating a trip

    {
        "message": "Trip updated successfully",
        "data": {
            "tripId": "0017228764",
            "clientTripUpdate": {
                "_id": "507f1f77bcf86cd799439014",
                "status": "pending",
                "clientId": "507f1f77bcf86cd799439011",
                "clientCode": "CLIENT001",
                "tripId": "0017228764",
                "tripUpdateData": {
                    "driverLicense": "string",
                    "truckPlate": "string",
                    "truckEconomicNumber": "string",
                    "trailerPlate": "string",
                    "trailerEconomicNumber": "string",
                    "secondTrailerPlate": "string",
                    "originArrivalDate": "string",
                    "secondTrailerEconomicNumber": "string",
                    "originEntryDate": "string",
                    "originLeftDate": "string",
                    "destinationArrivalDate": "string",
                    "destinationEntryDate": "string",
                    "destinationLeftDate": "string"
                },
                "loadingOrderId": "507f1f77bcf86cd799439012",
                "created": "2024-01-15T10:30:00.000Z"
            }
        }
    }
    Built with