Skip to main content
POST
Create a depot
Add a new depot to your Detrack account. You must provide at least a name and an address that the platform can geocode. If a depot with the same name already exists, this request updates it instead of creating a duplicate. Upon success, the response includes the newly assigned id, the geocoded location array, and address_lat / address_lng. To create many depots at once, use Bulk create.

Authorizations

X-API-KEY
string
header
required

Your Detrack API key, from Integrations > API Key in the dashboard.

Body

application/json
data
object
required

Response

The created or updated depot.

data
object