This object is in archive! 
Cust Type is not showing on edit lead
Answered
HI
I have created the script and that script creates the leads.When the script is execute then that create the customer and after that script is assign the customer id in the time of lead creation.The issue what i am getting when i try to edit the lead then i am not getting all option to edit the Cust Type http://prntscr.com/kti2xm even i have 5 option of cust type ,the same issue with the Referral select box option So please check it and let me know .My Login username is : hpcorp and lead id is: http://prntscr.com/kti4is
Thanks
garima
Answered via email to you.
I'd suggest the following:
- switch to api4
- use referral and customertype if you aren't
Answered via email to you.
I'd suggest the following:
- switch to api4
- use referral and customertype if you aren't
//$keywords_spotted formatted_customer_phone_number
$curl_handle=curl_init();
$post_data='apiKey=6a0e2f17e3477aea49675901b9c634de';
//$post_data.='&customerid='.$customerid;
$post_data.='&locationid=0';
//$post_data.='&eventname='.$source_name;
$post_data.='&eventstarttime='.$start_time;
//$post_data.='&eventendtime=';
//$post_data.='&eventduration='.$duration;
$post_data.='&eventstartdate_text='.$start_time;
$post_data.='&eventstarttime_text=';
//$post_data.='&eventenddate_text='.$start_time;
$post_data.='&eventendtime_text=';
$post_data.='&eventstreet=';
//$post_data.='&eventcity='.$callercity;
//$post_data.='&eventstate='.$callerstate;
$post_data.='&eventzip=.';
//$post_data.='&eventcountry='.$callercountry;
//$post_data.='&referral=CallRail';
$post_data.='&taxexempt=No';
$post_data.='&customertype=1. Corporate ,2. Wedding ,3. Baby Shower ,4. Kid Party 5. Adult Party ';
$post_data.='&taxrate=0';
$post_data.='&salestax=0';
$post_data.='&status=';
$post_data.='&deliverytype=';
//$post_data.='&surface=Grass';
//$post_data.='&rental_names='.$tag;
$post_data.='&staffcost=0';
$post_data.='&distcharge=0';
$post_data.='&fee=0';
$post_data.='&adjust=0';
//$post_data.='&coupon_code='.$tracker_id;
$post_data.='&recalculate=0';
$post_data.='¬es='.$note;
$post_data.='&additionalnotes1=';
$post_data.='&additionalnotes2=';
$post_data.='&venuenotes=';
$post_data.='&venuename=';
$post_data.='&venuecontact=';
$post_data.='&guests=';
$post_data.='&referral='.$formatted_tracking_source;
echo $post_data;
curl_setopt($curl_handle,CURLOPT_URL,'http://www.inflatableoffice.com/api4/leads/');
I used the above code please check .
But when i edit the events then there is a customer section and there is a cust tag option that option is not showing all option in screen shot please check
http://prntscr.com/ktvjx4
right now we have a 5 option in cust type in the customer 1. Corporate ,2. Wedding ,3. Baby Shower ,4. Kid Party 5. Adult Party
//$keywords_spotted formatted_customer_phone_number
$curl_handle=curl_init();
$post_data='apiKey=6a0e2f17e3477aea49675901b9c634de';
//$post_data.='&customerid='.$customerid;
$post_data.='&locationid=0';
//$post_data.='&eventname='.$source_name;
$post_data.='&eventstarttime='.$start_time;
//$post_data.='&eventendtime=';
//$post_data.='&eventduration='.$duration;
$post_data.='&eventstartdate_text='.$start_time;
$post_data.='&eventstarttime_text=';
//$post_data.='&eventenddate_text='.$start_time;
$post_data.='&eventendtime_text=';
$post_data.='&eventstreet=';
//$post_data.='&eventcity='.$callercity;
//$post_data.='&eventstate='.$callerstate;
$post_data.='&eventzip=.';
//$post_data.='&eventcountry='.$callercountry;
//$post_data.='&referral=CallRail';
$post_data.='&taxexempt=No';
$post_data.='&customertype=1. Corporate ,2. Wedding ,3. Baby Shower ,4. Kid Party 5. Adult Party ';
$post_data.='&taxrate=0';
$post_data.='&salestax=0';
$post_data.='&status=';
$post_data.='&deliverytype=';
//$post_data.='&surface=Grass';
//$post_data.='&rental_names='.$tag;
$post_data.='&staffcost=0';
$post_data.='&distcharge=0';
$post_data.='&fee=0';
$post_data.='&adjust=0';
//$post_data.='&coupon_code='.$tracker_id;
$post_data.='&recalculate=0';
$post_data.='¬es='.$note;
$post_data.='&additionalnotes1=';
$post_data.='&additionalnotes2=';
$post_data.='&venuenotes=';
$post_data.='&venuename=';
$post_data.='&venuecontact=';
$post_data.='&guests=';
$post_data.='&referral='.$formatted_tracking_source;
echo $post_data;
curl_setopt($curl_handle,CURLOPT_URL,'http://www.inflatableoffice.com/api4/leads/');
I used the above code please check .
But when i edit the events then there is a customer section and there is a cust tag option that option is not showing all option in screen shot please check
http://prntscr.com/ktvjx4
right now we have a 5 option in cust type in the customer 1. Corporate ,2. Wedding ,3. Baby Shower ,4. Kid Party 5. Adult Party
Replies have been locked on this page!