API Documentation
ContactsView Contacts
Method: /contacts/[id].[format]
Syntax:
https://[subdomain].salesbinder.com/api/2.0/contacts/[id].json
HTTP Request Type: GETSample Returned JSON Data
1{
2 "contact": {
3 "first_name": "Biff",
4 "last_name": "Johnson",
5 "job_title": "Warehouse Manager",
6 "phone": "555-348-9458",
7 "cell": "555-948-9458",
8 "fax": "555-837-9488",
9 "email_1": "biff@sample.com",
10 "email_2": "biff@sample2.com",
11 "id": "5695ddfe-ceb4-40c4-9cc5-05716882ca98",
12 "modified": "2016-11-11T00:21:33+00:00",
13 "created": "2016-01-13T05:17:50+00:00",
14 "customers": [
15 {
16 "id": "54ac6027-d7e0-4a87-91a8-03dba2d10228",
17 "name": "Lala Importers",
18 "customer_number": 545,
19 "office_email": "test@lalagear.com",
20 "office_phone": "604-555-1029",
21 "office_fax": "",
22 "url": "www.lalagear.com",
23 "billing_address_1": "98479 Broadway",
24 "billing_address_2": "",
25 "billing_city": "New York",
26 "billing_region_id": null,
27 "billing_region": "New York",
28 "billing_postal_code": "84734",
29 "billing_country_id": null,
30 "billing_country": "USA",
31 "shipping_address_1": "98479 Broadway",
32 "shipping_address_2": "",
33 "shipping_city": "New York",
34 "shipping_region_id": null,
35 "shipping_region": "New York",
36 "shipping_postal_code": "84734",
37 "shipping_country_id": null,
38 "shipping_country": "USA",
39 "vat_number": "",
40 "context_id": 10,
41 "document_count": 30,
42 "tax_rate1": null,
43 "tax_rate2": null,
44 "customer_date": null,
45 "archived": false,
46 "customer_label_id": "",
47 "pricing_tier_id": "",
48 "user_id": "",
49 "modified": "2016-11-11T00:28:51+00:00",
50 "created": "2015-01-06T22:22:31+00:00"
51 }
52 ]
53 }
54}
Sample Returned XML Data
1<?xml version="1.0" encoding="UTF-8" ?>
2<response>
3 <contact>
4 <first_name>Biff</first_name>
5 <last_name>Johnson</last_name>
6 <job_title>Warehouse Manager</job_title>
7 <phone>555-348-9458</phone>
8 <cell>555-948-9458</cell>
9 <fax>555-837-9488</fax>
10 <email_1>biff@sample.com</email_1>
11 <email_2>biff@sample2.com</email_2>
12 <id>5695ddfe-ceb4-40c4-9cc5-05716882ca98</id>
13 <modified>11/11/16, 12:21 AM</modified>
14 <created>1/13/16, 5:17 AM</created>
15 <customers>
16 <id>54ac6027-d7e0-4a87-91a8-03dba2d10228</id>
17 <name>Lala Importers</name>
18 <customer_number>545</customer_number>
19 <office_email>test@lalagear.com</office_email>
20 <office_phone>604-555-1029</office_phone>
21 <office_fax/>
22 <url>www.lalagear.com</url>
23 <billing_address_1>98479 Broadway</billing_address_1>
24 <billing_address_2/>
25 <billing_city>New York</billing_city>
26 <billing_region_id/>
27 <billing_region>New York</billing_region>
28 <billing_postal_code>84734</billing_postal_code>
29 <billing_country_id/>
30 <billing_country>USA</billing_country>
31 <shipping_address_1>98479 Broadway</shipping_address_1>
32 <shipping_address_2/>
33 <shipping_city>New York</shipping_city>
34 <shipping_region_id/>
35 <shipping_region>New York</shipping_region>
36 <shipping_postal_code>84734</shipping_postal_code>
37 <shipping_country_id/>
38 <shipping_country>USA</shipping_country>
39 <vat_number/>
40 <context_id>10</context_id>
41 <document_count>30</document_count>
42 <tax_rate1/>
43 <tax_rate2/>
44 <customer_date/>
45 <archived>0</archived>
46 <customer_label_id/>
47 <pricing_tier_id/>
48 <user_id/>
49 <modified>11/11/16, 12:28 AM</modified>
50 <created>1/6/15, 10:22 PM</created>
51 <_joinData>
52 <id>58250f0d-6f5c-4018-af2c-40606882ca98</id>
53 <contact_id>5695ddfe-ceb4-40c4-9cc5-05716882ca98</contact_id>
54 <customer_id>54ac6027-d7e0-4a87-91a8-03dba2d10228</customer_id>
55 </_joinData>
56 </customers>
57 </contact>
58</response>
Updated on February 7th, 2022