Manage leads
Last updated: 28-Nov-2019
Use the markLeads method to mark a lead as used and/or stop follow-ups.
Parameters | Required | Type/Description |
---|---|---|
LeadCode | Required | String. Unique system-generated identifier. |
Used | Required |
Boolean. With possible values: TRUE - FALSE - |
StopFollowups | Required |
Boolean. With possible values: TRUE - FALSE - |
<?php
require ('PATH_TO_AUTH');
$markLead = [
'LeadCode' => '60E6C4B574',
'StopFollowups' => false,
'Used' => true
];
$jsonRpcRequest = array (
'method' => 'markLeads',
'params' => array($sessionID, [$markLead]),
'id' => $i++,
'jsonrpc' => '2.0'
);
var_dump (callRPC((Object)$jsonRpcRequest, $host, true));
class stdClass#18 (2) {
public $Response =>
string(37) "1 leads have been marked successfully"
public $Errors =>
array(0) {
}
}
Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.
We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.