Skip to content
This repository was archived by the owner on Aug 14, 2024. It is now read-only.
This repository was archived by the owner on Aug 14, 2024. It is now read-only.

Adding Contacts #1

@drakemoore

Description

@drakemoore

Hello,

the contact add method is working great. My call:

$contact = $infusionsoft->contact( 'add', array(
'FirstName' => '',
'LastName' => '',
'Email' => 'jtest@mmedia.com'
) );

The contact in InfusionSoft that is created has a status of "non-marketable". Question 1: how do I fix this using the API calls?

Question 2: I need to add a tag to this new contact. The method call that follows returns "Message: No method matching arguments: java.lang.String, java.util.HashMap":

$contact = $infusionsoft->contact( 'addToGroup', array(
'contactIDNumber' => 15,
'groupIDNumber' => 109
) );

I have tried every variation of I can think of (putting quotes around the numeric values, changing the case on the method name). Can someone tell me what I am missing?

Thanks!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions