Authorization: Bearer ********************
{
"driverId": "string",
"routeId": "string",
"from": "string",
"to": "string",
"charges": 0,
"penaltyAmount": 0
}
curl --location --request PUT 'https://api.upbooks.io/api/v1/trip/' \
--header 'ORGANIZATION-ID: 00000' \
--header 'Content-Type: application/json' \
--data-raw '{
"driverId": "string",
"routeId": "string",
"from": "string",
"to": "string",
"charges": 0,
"penaltyAmount": 0
}'
{
"data": {
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"__v": 0,
"_id": "string",
"organizationId": "string",
"driverId": "string",
"routeId": "string",
"from": "string",
"to": "string",
"charges": 0,
"penaltyAmount": 0
},
"message": "string"
}