locations retrieve

GET {{baseUrl}}/locations/:id

Returns a Location object with the given id.

Request Params

KeyDatatypeRequiredDescription
include_remote_databooleanWhether to include the original data Merge fetched from the third-party to produce these models.
remote_fieldsstringWhich fields should be returned in non-normalized form.

HEADERS

KeyDatatypeRequiredDescription
X-Account-Tokenstring(Required) Token identifying the end user.
Acceptstring

RESPONSES

status: OK

{"id":"f5e6a151-f44e-449a-afb1-8fd781905958","remote_id":"93018402","name":"NYC Office","phone_number":"+1111111111","street_1":"2920 Broadway","street_2":"2nd Floor","city":"New York ","state":"NY","zip_code":"10027","country":"LB","location_type":"HOME","remote_data":[{"path":"laborum ad","data":{"exercitation_3d":{},"Excepteur6fc":{},"id3b":{}}},{"path":"sed fugiat","data":{"officiab29":{},"dolor7a3":{},"in_3":{}}}],"remote_was_deleted":true}