TransportationOrders
Assign a driver to a transportation order
Assigns an existing driver to the specified transportation order. Replaces any previously assigned driver. The operation is idempotent.
put/transportation-orders/{id}/driver
Request
- Base URL: http://localhost:3000
- URL: http://localhost:3000/transportation-orders/{id}/driver
- Auth: none declared
Path parameters
idinteger required
Numeric resource identifier
Request body
Example request
{
"driver_id": 7
}Response
Driver assigned successfully.
Changes
No recorded changes to this operation across all 4 revisions of this API.