Update a dispatch location
put/v1/dispatch_locations
Request
- Base URLhttps://api.gomotive.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.