FLEX Notification, (also known as FN) is a quick way to have any Leads or Customers created through FLEX to be also sent to any third party URL. This posted data will be given as a JSON string.
To use the FN, specify the URL on the customer type. Please include the full url such as http://www.mystorename.com/scripts/jsondata.php
$data = json_decode(file_get_contents('php://input'), true);
The FN will also send a few additional variables:
|fn_type||'customer' or 'lead'|
|fn_referrer||For Example: http://www.myoutsideapp/processor/setup.php|
|fn_method||'create' or 'update'|
|fn_additional||Any additional notes you want to pass with any FN post. This is a good field if additional validation or site identification is needed.|
Using the FN is a one way pass. FLEX will send information to the FN URL specified. If you want to pass information back into Lead Commerce to create or update records, please refer to our API documentation.