Contacts serve as a common, shared address book that's used across a company by many people for a variety of purposes. Contacts hold all the information needed to contact an individual or business, including name, email address, phone number, mailing address, and more.
Contacts are almost always used with other Sage Intacct objects, such as vendors, customers, or locations. For example, you specify a contact in Order Entry and Purchasing transactions to set a ship-to, bill-to, pay-to, or return-to addresses, and to determine tax on transactions.
Returns up to 100 contacts from the collection with a key, ID, and link for each contact. This operation is mostly for use in testing; use the query service to find contacts that meet certain criteria and specify the properties that are returned.
Subscription | Company |
---|---|
User type | Business, Employee, Payment Approver |
Permissions | List, View Contacts |
OK
Bad Request
{- "ia::result": [
- {
- "key": "265",
- "id": "Mary Cooper",
- "href": "/objects/company-config/contact/265"
}, - {
- "key": "263",
- "id": "John Doe",
- "href": "/objects/company-config/contact/263"
}, - {
- "key": "264",
- "id": "Alfred Mike",
- "href": "/objects/company-config/contact/264"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Creates a new contact.
Subscription | Company |
---|---|
User type | Business user with admin privileges |
Permissions | Add Contacts |
Contact object to create
id required | string Unique identifier for the contact. Example: "rkincaid" | ||||||||||||||||
printAs required | string The contact name as you want it to appear on bills, invoices, AR statements, advances, adjustments, checks, expense reports, expense reimbursements, and 1099s. Example: "Reuben Kincaid" | ||||||||||||||||
lastName | string Last name Example: "Kincaid" | ||||||||||||||||
firstName | string First name Example: "Reuben" | ||||||||||||||||
middleName | string Middle name or initial Example: "X" | ||||||||||||||||
prefix | string Prefix, such as Mr., Mrs., or Ms. Example: "Mr." | ||||||||||||||||
email1 | |||||||||||||||||
email2 | |||||||||||||||||
phone1 | string Primary phone number Example: "4151231234" | ||||||||||||||||
phone2 | string Secondary phone number Example: "4158661823" | ||||||||||||||||
mobile | string Mobile phone number Example: "4159879876" | ||||||||||||||||
pager | string Pager number Example: "4151112222" | ||||||||||||||||
fax | string Fax number Example: "4152221111" | ||||||||||||||||
URL1 | string Web page address for this contact. Example: "https://mycompany.com" | ||||||||||||||||
URL2 | string Secondary web page address. Example: "https://whitehouse.gov" | ||||||||||||||||
companyName | string Name of the company associated with this contact. Example: "AlcoSoft Inc" | ||||||||||||||||
showInContactList | boolean Default: true Set to Example: true | ||||||||||||||||
discount | string Default discount percentage to be applied to order entry transactions involving this contact. Example: "33" | ||||||||||||||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" | ||||||||||||||||
object The mailing address of the contact. | |||||||||||||||||
| |||||||||||||||||
object Default price list used in order entry when this contact places orders. Read the notes in the Help Center for requirements and additional information. | |||||||||||||||||
| |||||||||||||||||
object Price schedule used in order entry when this contact places orders. | |||||||||||||||||
| |||||||||||||||||
object Tax settings needed for Intacct to calculate taxes on transactions for this contact. | |||||||||||||||||
|
Created
Bad Request
{- "id": "AMoore",
- "prefix": "Mr",
- "firstName": "Andy",
- "lastName": "Moore",
- "middleName": "Robert",
- "printAs": "Andy Moore",
- "companyName": "Sage",
- "phone1": "9134598676",
- "mobile": "9133132299",
- "fax": "9134598677",
- "mailingAddress": {
- "addressLine1": "744 Edgewater Blvd",
- "city": "Kansas City",
- "state": "KS",
- "postCode": "66104",
- "country": "United States"
}, - "tax": {
- "isTaxable": true,
- "taxId": "123-12-1234",
- "group": {
- "id": "New York"
}
}, - "status": "active"
}
{- "ia::result": {
- "key": "312",
- "id": "AMoore",
- "href": "/objects/company-config/contact/312"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Returns detailed information for a specified contact.
Subscription | Company |
---|---|
User type | Business, Employee, Payment Approver |
Permissions | List, View Contacts |
key required | string System-assigned key for the contact. Example: 65 |
OK
Bad Request
{- "ia::result": {
- "key": "1257",
- "id": "AMoore",
- "companyName": "Sage",
- "prefix": "Mr",
- "firstName": "Andy",
- "lastName": "Moore",
- "middleName": "Robert",
- "printAs": "Andy Moore",
- "tax": {
- "isTaxable": true,
- "group": {
- "id": "New York",
- "key": "6",
- "href": "/objects/company-config/contact-tax-group/6"
}, - "taxId": "123-12-1234"
}, - "phone1": "9134598676",
- "phone2": null,
- "mobile": "9133132299",
- "pager": null,
- "fax": "9134598677",
- "email2": null,
- "URL2": null,
- "showInContactList": true,
- "mailingAddress": {
- "addressLine1": "744 Edgewater Blvd",
- "addressLine2": null,
- "addressLine3": null,
- "city": "Kansas City",
- "country": "United States",
- "isoCountryCode": "US",
- "postCode": "66104",
- "state": "KS"
}, - "status": "active",
- "entity": {
- "key": "54",
- "id": "Western Region",
- "name": "Western Region",
- "href": "/objects/company-config/entity/54"
}, - "priceSchedule": {
- "id": null,
- "key": null
}, - "discount": null,
- "priceList": {
- "id": null,
- "key": null
}, - "href": "/objects/company-config/contact/1257"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing contact by setting field values. Any fields not provided remain unchanged.
Subscription | Company |
---|---|
User type | Business user with admin privileges |
Permissions | Edit Contacts |
key required | string System-assigned key for the contact. Example: 65 |
lastName | string Last name Example: "Kincaid" | ||||||||||||||||
firstName | string First name Example: "Reuben" | ||||||||||||||||
middleName | string Middle name or initial Example: "X" | ||||||||||||||||
prefix | string Prefix, such as Mr., Mrs., or Ms. Example: "Mr." | ||||||||||||||||
email1 | |||||||||||||||||
email2 | |||||||||||||||||
phone1 | string Primary phone number Example: "4151231234" | ||||||||||||||||
phone2 | string Secondary phone number Example: "4158661823" | ||||||||||||||||
mobile | string Mobile phone number Example: "4159879876" | ||||||||||||||||
pager | string Pager number Example: "4151112222" | ||||||||||||||||
fax | string Fax number Example: "4152221111" | ||||||||||||||||
URL1 | string Web page address for this contact. Example: "https://mycompany.com" | ||||||||||||||||
URL2 | string Secondary web page address. Example: "https://whitehouse.gov" | ||||||||||||||||
companyName | string Name of the company associated with this contact. Example: "AlcoSoft Inc" | ||||||||||||||||
printAs | string The contact name as you want it to appear on bills, invoices, AR statements, advances, adjustments, checks, expense reports, expense reimbursements, and 1099s. Example: "Reuben Kincaid" | ||||||||||||||||
showInContactList | boolean Default: true Set to Example: true | ||||||||||||||||
discount | string Default discount percentage to be applied to order entry transactions involving this contact. Example: "33" | ||||||||||||||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" | ||||||||||||||||
object The mailing address of the contact. | |||||||||||||||||
| |||||||||||||||||
object Default price list used in order entry when this contact places orders. Read the notes in the Help Center for requirements and additional information. | |||||||||||||||||
| |||||||||||||||||
object Price schedule used in order entry when this contact places orders. | |||||||||||||||||
| |||||||||||||||||
object Tax settings needed for Intacct to calculate taxes on transactions for this contact. | |||||||||||||||||
|
OK
Bad Request
{- "companyName": "Google"
}
{- "ia::result": {
- "key": "312",
- "id": "John",
- "href": "/objects/company-config/contact/312"
}, - "ia::meta": {
- "totalCount": 1
}
}
Deletes a contact. You can delete a contact if it is not being used or referenced. Deleted contacts cannot be recovered.
Subscription | Company |
---|---|
User type | Business user with admin privileges |
Permissions | Delete Contacts |
key required | string System-assigned key for the contact. Example: 65 |
No Content
Bad Request
{- "ia::result": {
- "ia::error": {
- "code": "invalidRequest",
- "message": "A POST request requires a payload",
- "errorId": "REST-1028",
- "additionalInfo": {
- "messageId": "IA.REQUEST_REQUIRES_A_PAYLOAD",
- "placeholders": {
- "OPERATION": "POST"
}, - "propertySet": { }
}, - "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 0,
- "totalError": 1
}
}
Queries an object for filtered data.
object | string Object type to query, in the form Example: "company-config/contact" | ||||||||
fields | Array of strings List of fields to include in the response. Can be any combination of these:
Example: ["key","id","max:vendor.creditLimit"] | ||||||||
Array of equal (object) or not equal (object) or less than (object) or (less than or equal (object)) or greater than (object) or (greater than or equal (object)) or in (object) or not in (object) or between (object) or not between (object) or contains (object) or does not contain (object) or starts with (object) or does not start with (object) or ends with (object) or does not end with (object) Filter conditions to select the objects to return based on their field values. You use operators and conditions to build your filter, such as Example: [{"$eq":{"status":"active"}},{"$gt":{"totalDue":"1000"}},{"$contains":{"name":"Acme"}}] | |||||||||
Array Any of: Field value must be equal to this specified value. For date fields, you can use these macro values that are relative to the current date or the
These are most useful for queries that you want to save and use repeatedly, such as for views or reports. Just change the For example,
| |||||||||
filterExpression | string Default: "and" Logical operators to apply when there are multiple filter conditions. The conditions in the Shortcuts:
Example: "(1 and 2) or 3" | ||||||||
| |||||||||
Array of objects Set the order of the results by specifying field names to sort by and whether they should be in ascending or descending order. Example: [{"totalDue":"asc"},{"lastPaymentMadeDate":"desc"}] | |||||||||
Array
| |||||||||
start | integer First record of the result set to include in the response. Example: 1 | ||||||||
size | integer Number of records to include in the response. Example: 100 |
OK
Bad Request
{- "object": "company-config/contact",
- "filters": [
- {
- "$eq": {
- "status": "active"
}
}, - {
- "$eq": {
- "companyName": "Sage"
}
}
], - "fields": [
- "key",
- "printAs"
], - "orderBy": [
- {
- "id": "asc"
}
]
}
{- "ia::result": [
- {
- "key": "1257",
- "printAs": "Andy Moore"
}, - {
- "key": "1359",
- "printAs": "Lester Bestertester"
}
], - "ia::meta": {
- "totalCount": 2,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}