Skip to content

Create a location

POST
/locations

Create a new location

object
name
string
address1
string
address2
string
city
string
state
string
postal_code
string
geo_lat
number
geo_lon
number
geo_hash
string
geocoder
string
metadata
object
key
additional properties
any
geo_quality
string
external_id
string
owner_id
string
full_address
string
sales_rep_id
string
location_type
string
organization_id
string
fuel_ship_to
boolean
fuel_transport
boolean
preferences
object
key
additional properties
any
description
string
sync
boolean
note
string

Location created

object
id
string
company_id
string
name
string | null
address1
string | null
address2
string | null
city
string | null
state
string | null
postal_code
string | null
geo_lat
number | null
geo_lon
number | null
geo_hash
string | null
date_created
string format: date-time
date_updated
string format: date-time
geocoder
string | null
metadata
object | null
geo_quality
string | null
external_id
string | null
owner_id
string | null
full_address
string | null
sales_rep_id
string | null
location_type
string | null
organization_id
string | null
fuel_ship_to
boolean
fuel_transport
boolean
preferences
object | null
description
string | null
sync
boolean
note
string | null

Invalid request

object
success
required
boolean
error
required
string
Example
An error occurred

Unauthorized