Update an existing dispatch

This API only accepts a JSON object in the body of the request and is used to update an existing dispatch. The JSON object should take the following general form. Let's assume there is a dispatch with no stops and no trips. If we PUT request the following JSON, we'll get the response above.


To update an existing dispatch just send the entire dispatch again with updated information to this API. To remove a dispatch stop or trip (additional stop/trip) just send the entire dispatch again without the information for the dispatch stop/trip created before. You can simply pass a {vendor_id: XYZ} for a dispatch stop/trip in the dispatch trips/stops array to persist the trip/stop through API calls.

Click Try It! to start a request and see the response here!