> For the complete documentation index, see [llms.txt](https://docs.vomevolunteer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vomevolunteer.com/resources/schedule/shift-locations/write-operations/create-shift-locations.md).

# Create shift locations

This endpoint creates one or more shift locations in your organization.

<mark style="color:red;">Both</mark> <mark style="color:red;">**address**</mark> <mark style="color:red;">and</mark> <mark style="color:red;">**latitude\_longitude**</mark> <mark style="color:red;">are required. Coordinates are given as</mark> <mark style="color:red;">**\[latitude, longitude]**</mark><mark style="color:red;">, in that order, and must be real coordinates: latitude between -90 and 90, longitude between -180 and 180.</mark>

#### Endpoint

```plaintext
POST api/shift-locations/bulk-create/
```

#### Example Request Payload

```json
{
    "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.
