Logo
Submit a request
Follow

Customer Contacts

Adding a Contact

URL

https://app.bluefolder.com/api/2.0/customers/addContact.aspx

Request

<request>
    <customerContactAdd>
        <customerId></customerId>
        <firstName></firstName>
        <lastName></lastName>
        <isPrimary></isPrimary>
        <email></email>
        <jobTitle></jobTitle>
        <notes></notes>
        <phone></phone>
        <phoneFax></phoneFax>
        <phoneHome></phoneHome>
        <phoneMobile></phoneMobile>
        <phoneOther></phoneOther>
        <title></title>
    </customerContactAdd>
</request>
            
  • customerId - (required) numeric, the Id of the customer to which the new contact should belong
  • firstName - (required) string (25 char limit)
  • lastName - (required) string (25 char limit)
  • NOTE: firstName OR lastName is required, not both
  • isPrimary - boolean, indicates that contact should be made the "primary" contact for the customer
  • email - string (100 char limit)
  • jobTitle - string (50 char limit)
  • notes - string (1000 char limit)
  • phone - string (30 char limit)
  • phoneFax - string (30 char limit)
  • phoneHome - string (30 char limit)
  • phoneMobile - string (30 char limit)
  • phoneOther - string (30 char limit)
  • title - string (10 char limit)

Response

<response status="ok">
    <customerContactId>xxxxxx</customerContactId>
</response>
            

Editing a Contact

URL

https://app.bluefolder.com/api/2.0/customers/editContact.aspx

Request

<request>
    <customerContactEdit>
        <customerContactId></customerContactId>
        <firstName></firstName>
        <lastName></lastName>
        <isPrimary></isPrimary>
        <email></email>
        <jobTitle></jobTitle>
        <notes></notes>
        <phone></phone>
        <phoneFax></phoneFax>
        <phoneHome></phoneHome>
        <phoneMobile></phoneMobile>
        <phoneOther></phoneOther>
        <title></title>
    </customerContactEdit>
</request>
            
  • customerContactId - (required) numeric, the Id of the contact to be edited
  • firstName - string (25 char limit)
  • lastName - string (25 char limit)
  • isPrimary - boolean, indicates that contact should be made the "primary" contact for the customer
  • email - string (100 char limit)
  • jobTitle - string (50 char limit)
  • notes - string (1000 char limit)
  • phone - string (30 char limit)
  • phoneFax - string (30 char limit)
  • phoneHome - string (30 char limit)
  • phoneMobile - string (30 char limit)
  • phoneOther - string (30 char limit)
  • title - string (10 char limit)

Response

<response status="ok">
    <customerContactId>xxxxxx</customerContactId>
</response>
            
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request