v1
latestOpenAPI 3.1.02026-07-2617501.1 MBCreate a dispatch location
post/v1/dispatch_locations
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
201
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"
}
}