Create
POST {{baseUrl}}/account/:accountID/location
Create a Location under the customer account.
Request Body
{"name"=>"Factory Hats", "address"=>"7 Hillsborough St, Raleigh, NC 27603, USA", "type"=>"shipper", "location"=>{"lat"=>35.78036005423038, "lng"=>-78.64030765118511, "radius_meter"=>100}, "alerts"=>{"silence_in_geofence"=>"false", "completion_in_geofence"=>"false", "completion_in_geofence_after_light_detection"=>"true", "light_lx"=>0, "completion_delay_hours"=>0}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | (Required) |
RESPONSES
status: Created
{"message":"Location successfully created!"}