Add a location to company
access_token OAuth 2.0 Access Token
In: query
application/json
Location request body
Address line 1
Address line 2
City
State
Postal/ZIP code
Country
Name
Display name
Type
Notes
Client
Group
Contact
curl -X POST "https://api-sandbox.fndev.net/api/rest/v2/locations" \ -H "Content-Type: application/json" \ -d '{ "name": "Headquarters", "type": "office", "address1": "100 Main St", "city": "New York", "state": "NY", "zip": 10001, "country": "USA", "display_name": "NYC HQ", "notes": "Main entrance on 5th Ave.", "client": 101, "group": "East Coast", "contact": { "name": "John Doe", "phone": "555-0199", "email": "jdoe@fieldnation.com" } }'{
"id": 123
}{
"status": 500,
"message": "Operation successful."
}{
"status": 500,
"message": "Operation successful."
}{
"status": 500,
"message": "Operation successful."
}application/json
application/json
application/json
application/json
Last updated on
curl -X POST "https://api-sandbox.fndev.net/api/rest/v2/locations" \
-H "Content-Type: application/json" \
-d '{
"name": "Headquarters",
"type": "office",
"address1": "100 Main St",
"city": "New York",
"state": "NY",
"zip": 10001,
"country": "USA",
"display_name": "NYC HQ",
"notes": "Main entrance on 5th Ave.",
"client": 101,
"group": "East Coast",
"contact": {
"name": "John Doe",
"phone": "555-0199",
"email": "jdoe@fieldnation.com"
}
}'