Contacts
Create Contact
Create a contact.
POST
/
accounting
/
contacts
A contact is an individual or company that buys or sells goods or services from a business. Commonly referred to a customer on a corresponding invoice or a vendor for a bill
Additional Required Fields
To successfully create a contact, certain fields must be included in the raw_data object of the request body. The required fields are as follows:
Integration | Field | Description | Required |
---|---|---|---|
MS_DYNAMICS_365_FO | CustomerGroupId | The customer group ID to which the contact belongs. This should be passed if the contact_type is CUSTOMER. | Yes |
MS_DYNAMICS_365_FO | VendorGroupId | The vendor group ID to which the contact belongs. This should be passed if the contact_type is VENDOR. | Yes |
MYOB_BUSINESS | tax_code | The tax code to which the contact belongs. | Yes |
SAGE_ZA_CLOUD_ACCOUNTING | code | The code of the contact. | Yes |
Authorizations
api_key
string
headerrequiredBody
application/json
company_id
integer
requiredThe ID of the company in the accounting platform
data
object[]
requiredThe data of the Contacts endpoint
run_async
boolean | null
Run the request asynchronously
Response
200 - application/json
data
object
sync_id
string | null
The sync id of the request