Create shift locations
This endpoint creates one or more shift locations in your organization.
Both address and latitude_longitude are required. Coordinates are given as [latitude, longitude], in that order, and must be real coordinates: latitude between -90 and 90, longitude between -180 and 180.
Endpoint
POST api/shift-locations/bulk-create/Example Request Payload
{
"allow_partial": false,
"shift_locations": [
{
"title": "Downtown Branch",
"address": "7 Freedom Trail, Medway, Norfolk, MA, USA",
"latitude_longitude": [
"42.14579519999999",
"-71.4391298"
],
"unit_number": "Suite 200",
"meeting_place": "Main lobby"
}
]
}Fields
Field
Required
Description
address
yes
The full address.
latitude_longitude
yes
[latitude, longitude].
title
no
A short name. Without one the location is shown by its address.
unit_number
no
Suite, unit or floor.
meeting_place
no
Where to meet on arrival.
Vome does not look up coordinates for you, so geocode the address on your side before sending it.