v1
latestOpenAPI 3.1.02026-07-2617501.1 MBUpdate a dispatch location
put/v1/dispatch_locations
Query parameters
idinteger required
Specify the ID of the dispatch location for which you want to make an update.
vendor_idinteger required
Specify the ID of the vendor for which you are making an update.
Headers
X-Metric-Unitsboolean
Specify if you want to use the Metric units or the Imperial units. TRUE: Metric units. FALSE: Imperial Units
Request body
Response
200
Example response
{
"dispatch_location": {
"id": 2,
"vendor_id": "foo",
"lat": 2,
"lon": 3,
"name": "Office",
"address1": "350 Sansome St.",
"address2": "San Francisco",
"city": "San Francisco",
"state": "CA",
"zip": "94104",
"country": "US",
"arrive_radius": 200,
"depart_radius": 200,
"phone": "(650) 238-9293"
}
}