v1

latestOpenAPI 3.0.0Proprietary2026-08-06130577659.7 KB
Employees|Location

Create/Update locations.

This endpoint enables you to create locations or update the ones you created.

post/location/upsert

Request body

deleteMissingboolean

Do you want to delete all locations missing from this request? This Parameter is optional. (Default: false)

dryRunboolean

Simulate the operation. (No records will be created or changed) This Parameter is optional.

Example request

{
  "records": [
    {
      "data": {
        "createdAt": "2015-02-20T12:59:21+01:00"
      }
    }
  ]
}

Response

Success Response:

Example response

{
  "createdLocations": [
    {
      "createdAt": "2015-02-20T12:59:21+01:00"
    }
  ],
  "updatedLocations": [
    {
      "createdAt": "2015-02-20T12:59:21+01:00"
    }
  ],
  "deletedLocations": [
    {
      "createdAt": "2015-02-20T12:59:21+01:00"
    }
  ]
}