Update pickup and delivery trip
End-point to update pickup and delivery trip. Upon updation of trip message is sent to the customer with updated details. This end-point isn't for PATCH update. Trip should be fetched first and all required details should be updated in the request body.
Path Parameters
Unique identifier for a trip
Header Parameters
Base64 encoded basic auth
Request Body required
Update trip request
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
pickupDeliveryTripEvent object
Possible values: [UPLOAD_PENDING
, VERIFICATION_PENDING
, VERIFIED
, REQUEST_ITEMS
, VERIFY_ITEMS
, PREVIEW_ITEMS
]
internalNote object
recipientDAs object[]
removedDAs object[]
Possible values: [PICKUP_VEHICLE_NO_LOANER
, PICKUP_VEHICLE_WITH_LOANER
, PICKUP_VEHICLE_2_DRIVER_WITH_LOANER
, PICKUP_CUSTOMER_NO_LOANER
, PICKUP_CUSTOMER_WITH_LOANER
, DROPOFF_CUSTOMER_NO_LOANER
, DROPOFF_CUSTOMER_WITH_LOANER
, DROPOFF_VEHICLE_WITH_LOANER
, DROPOFF_VEHICLE_NO_LOANER
, DROPOFF_VEHICLE_2_DRIVER_WITH_LOANER
, LOANER_SWAP
, MISCELLANEOUS_NO_LOANER
, MISCELLANEOUS_WITH_LOANER
, RIDESHARE_PICKUP_CUSTOMER
, RIDESHARE_DROPOFF_CUSTOMER
, RIDESHARE_PICKUP_VEHICLE
, RIDESHARE_DROPOFF_VEHICLE
, RIDESHARE_MISCELLANEOUS
]
optionalFields object
Possible values: [PICKUP_CUSTOMER
, PICKUP_VEHICLE
, DROPOFF_CUSTOMER
, DROPOFF_VEHICLE
, LOANER_SWAP
, MISCELLANEOUS
, RIDE_SHARE
]
Possible values: [UBER
, LYFT
, OLA
]
sharedRideRequest object
Possible values: [GENERAL
, QUICK_BOOK
]
Possible values: [PICKUP_DELIVERY
]
Possible values: [PICKUP_CUSTOMER
, DROPOFF_CUSTOMER
, PICKUP_VEHICLE
, DROPOFF_VEHICLE
, MISCELLANEOUS
]
sharedRideResponse object
error object
metadata object
warnings object[]
subTrips object[]
Possible values: [OUTBOUND
, INBOUND
]
Possible values: [DRAFT
, AUTO_DRAFT
, ASSIGNED
, UNASSIGNED
, READY_TO_DRIVE
, STARTED
, IN_PROGRESS
, AT_DEALERSHIP
, COMPLETED
, CANCELLED
]
Possible values: [DEALERSHIP_VEHICLE
, CUSTOMER_VEHICLE
, THIRD_PARTY_VEHICLE
, AS_PASSENGER
, SHARED_RIDE_SERVICE
]
Possible values: [DRAFT
, AUTO_DRAFT
, ASSIGNED
, UNASSIGNED
, OUTBOUND
, INBOUND
, READY_TO_DRIVE
, AT_DESTINATION
, AT_DEALERSHIP
, COMPLETED
, CANCELLED
]
Possible values: [REQUEST_RESERVATION
, RESERVATION_APPROVED
, RESERVATION_CONFIRMED
, CANCEL_RESERVATION
, RESERVATION_CANCELLED
]
vehicleIdentifiers object
Possible values: [DEALER_APP
, WEB
, PND_API
, EXTERNAL_CONTROLLER
]
- 200
- 201
- 401
- 403
- 404
OK
Schema
- Array [
- ]
error object
metadata object
warnings object[]
{
"error": {
"errorCode": "string",
"errorDescription": "string",
"metadata": {}
},
"eventUUID": "string",
"statusCode": 0,
"warnings": [
{
"warningCode": "string",
"warningDescription": "string"
}
]
}
Created
Unauthorized
Forbidden
Not Found