-
Notifications
You must be signed in to change notification settings - Fork 128
Developer Manual
victorburgos12 edited this page Mar 13, 2018
·
5 revisions
Welcome to the infusionsoft-php wiki(Draft)!
- Installation
- API preparation
- Authentications
- Making request
How to install infusionsoft-php to your application?
- Composer
Steps to connect InfusionSoft to your application
- Create InfusionSoft developer account
- Register your application and get "clientKey" and "clientSecret"
- Request a new token
- Refresh token
- Appointment
- Contact
$contact = array('FirstName' => 'Victor', 'LastName' => 'Burgos', 'Email' => '[email protected]');
$cid = $infusionsoft->contacts->addWithDupCheck($contact, 'Email');
Retrieves an array with all contacts with the given email address. This searches the Email, Email 2, and Email 3 fields
- email: string (required)
- The email address to search with
- selectedFields: array (required)
- The contact fields you would like returned
$selectedFields = array("Id");
$email = '[email protected]';
$cid = $infusionsoft->contacts->findByEmail($email, $selectedFields);
- Custom Field
- Order
- Product
- Tag
- Task
- Transactions
- Data
infusionsoft->data()->findByField('Company', 10 , 0, 'Company', 'Test company name' , ['AccountId','Company'])
infusionsoft->data()->add('Company', ['Company'=>'Test company name'])