{ "status_code": 200, "body": { "code": "success", "details": { "output": "ERROR: Duplicate Email found.Phone is empty.Duplicate Shopify ID found.", "userMessage": [ "Production", "Query Result of Transaction ID Search: ", "Query Result of Contact Email Search: {\"Owner\":{\"name\":\"SmartHeart Admin\",\"id\":\"2945435000000132011\",\"email\":\"noreply@smartheartpro.com\"},\"$field_states\":null,\"Mailing_State\":\"FL\",\"Gender\":\"Male\",\"Other_Country\":null,\"Department\":null,\"$state\":\"save\",\"$process_flow\":false,\"Assistant\":null,\"Currency\":\"USD\",\"id\":\"2945435000042225024\",\"$approval\":{\"delegate\":false,\"approve\":false,\"reject\":false,\"resubmit\":false},\"First_Visited_URL\":null,\"Created_Time\":\"2024-04-24T07:09:01+03:00\",\"Klaviyo_Profile_ID\":null,\"Last_Visited_Time\":null,\"Ticket_ID\":null,\"Created_By\":{\"name\":\"SmartHeart Admin\",\"id\":\"2945435000000132011\",\"email\":\"noreply@smartheartpro.com\"},\"Description\":null,\"Number_Of_Chats\":null,\"$review_process\":{\"approve\":false,\"reject\":false,\"resubmit\":false},\"Other_Zip\":null,\"Mailing_Street\":\"4981 Bacopa Ln S Unit 401\",\"Average_Time_Spent_Minutes\":null,\"Salutation\":null,\"Full_Name\":\"David Tiffenberg\",\"Record_Image\":null,\"Account_Name\":{\"name\":\"David Tiffenberg\",\"id\":\"2945435000042244034\"},\"Automatic_Measurments\":\"1\",\"Email_Opt_Out\":false,\"Enable_Preview_Screen\":null,\"Other_Street\":null,\"Old_Email\":null,\"Mobile\":null,\"Parent_Cloud_Id\":null,\"$orchestration\":false,\"With_Service\":false,\"ECG_Checkup\":null,\"Layout\":{\"name\":\"DTC Contact\",\"id\":\"2945435000025613634\"},\"Locked__s\":false,\"Lead_Source\":null,\"Tag\":[],\"Email\":\"dtiffenberg@gmail.com\",\"$currency_symbol\":\"$\",\"Visitor_Score\":null,\"Other_Phone\":null,\"SFID\":null,\"Klaviyo_First_Visit_URL\":null,\"Other_State\":null,\"UTM_Term\":null,\"Last_Activity_Time\":\"2024-07-04T22:28:11+03:00\",\"Identifier\":\"2339709\",\"Unsubscribed_Mode\":null,\"Exchange_Rate\":1,\"Mailing_Country\":\"United States\",\"$locked_for_me\":false,\"$approved\":true,\"Reporting_To\":null,\"Days_Visited\":null,\"Other_City\":null,\"Profile_Id\":null,\"$editable\":true,\"Home_Phone\":null,\"Profession\":null,\"Campaign\":null,\"UTM_Content\":null,\"Smartheart_Cloud_Id\":8220,\"Medium\":null,\"$zia_owner_assignment\":\"owner_recommendation_unavailable\",\"Secondary_Email\":null,\"Email_Marketing_Consent\":false,\"Converted_Sales_Order\":null,\"Qtcf\":\"0\",\"Deal_Type\":\"1\",\"SMS_Marketing_Consent\":false,\"Mailing_Zip\":\"33715\",\"NPI\":null,\"Are_you_Ready\":null,\"UTM_Campaign\":null,\"Manually_Trigger_Welcome_Email\":false,\"Role_Id\":\"1\",\"First_Name\":\"David\",\"Asst_Phone\":null,\"Destributor_Id\":\"USA\",\"Modified_By\":{\"name\":\"SmartHeart Admin\",\"id\":\"2945435000000132011\",\"email\":\"noreply@smartheartpro.com\"},\"$review\":null,\"Phone\":\"+17547159916\",\"Modified_Time\":\"2024-04-25T22:56:57+03:00\",\"Date_of_Birth\":\"1985-10-07\",\"Mailing_City\":\"Saint Petersburg\",\"Unsubscribed_Time\":null,\"Title\":null,\"Why_early_detection_matters\":null,\"First_Visited_Time\":null,\"CODE\":null,\"Last_Name\":\"Tiffenberg\",\"Training_Program\":null,\"$in_merge\":false,\"Referrer\":null,\"Welcome_Email_Sent\":true,\"Formula_1\":\"1\",\"UTM_Source\":null,\"Fax\":null,\"$approval_state\":\"approved\"}", "Query Result of Accounts search for Shopify id: {\"Owner\":{\"name\":\"SmartHeart Admin\",\"id\":\"2945435000000132011\",\"email\":\"noreply@smartheartpro.com\"},\"Email\":\"dtiffenberg@gmail.com\",\"$currency_symbol\":\"$\",\"$field_states\":null,\"Account_Type\":null,\"Gender\":\"male\",\"UTM_Term\":null,\"Last_Activity_Time\":\"2024-08-12T19:20:37+03:00\",\"Industry\":null,\"$state\":\"save\",\"$process_flow\":false,\"Exchange_Rate\":1,\"DOB\":\"1985-10-07\",\"Currency\":\"USD\",\"Billing_Country\":\"United States\",\"Reactivate\":false,\"$locked_for_me\":false,\"Are_you_ready\":null,\"id\":\"2945435000042244034\",\"$approved\":true,\"$approval\":{\"delegate\":false,\"approve\":false,\"reject\":false,\"resubmit\":false},\"Billing_Street\":\"4981 Bacopa Ln S Unit 401\",\"Created_Time\":\"2024-04-24T07:09:00+03:00\",\"$editable\":true,\"Billing_Code\":\"33715\",\"Shipping_City\":\"Saint Petersburg\",\"Shipping_Country\":\"United States\",\"Shipping_Code\":\"33715\",\"Campaign\":\"Spring into Heart Health\",\"Prescription_File\":null,\"Billing_City\":\"Saint Petersburg\",\"UTM_Content\":null,\"Medium\":null,\"Distributor_Id\":null,\"Created_By\":{\"name\":\"SmartHeart Admin\",\"id\":\"2945435000000132011\",\"email\":\"noreply@smartheartpro.com\"},\"$zia_owner_assignment\":\"owner_recommendation_unavailable\",\"Shipping_Street\":\"4981 Bacopa Ln S Unit 401\",\"Ownership\":null,\"Description\":null,\"Klaviyo_First_Visit\":null,\"Subscription_Start_Date\":\"2024-04-24\",\"UTM_Campaign\":null,\"Shipping_State\":\"FL\",\"$review_process\":{\"approve\":false,\"reject\":false,\"resubmit\":false},\"Website\":null,\"Employees\":null,\"Original_Shopify_Order_ID\":\"7587174351090\",\"Account_Cancellation_Date_Stamp\":null,\"Source\":null,\"First_Name\":\"David\",\"Record_Image\":null,\"Modified_By\":{\"name\":\"Camares Support\",\"id\":\"2945435000031544001\",\"email\":\"support@camares.com\"},\"$review\":null,\"Phone\":\"+17547159916\",\"Purchaser_Last_Name\":\"Tiffenberg\",\"Account_Name\":\"David Tiffenberg\",\"Partner\":null,\"Subscription_End_Date\":\"2024-08-23\",\"Main_Contact_Email\":null,\"Modified_Time\":\"2024-08-12T19:20:37+03:00\",\"Cancellation_Disposition\":\"Inconsistent clinical directives\",\"Why_early_detection_matters\":null,\"$orchestration\":false,\"Parent_Account\":null,\"ECG_Checkup\":null,\"Last_Name\":\"Tiffenberg\",\"Layout\":{\"name\":\"DTC Account\",\"id\":\"2945435000025613911\"},\"$in_merge\":false,\"Locked__s\":false,\"Billing_State\":\"FL\",\"UTM_Source\":null,\"Tag\":[],\"Purchaser_Phone_Number\":\"+17547159916\",\"$approval_state\":\"approved\",\"Purchaser_First_Name\":\"David\",\"Account_Status\":\"Active\",\"Reactivated_Date\":null}", "Log Creation Response: {\"Modified_Time\":\"2024-08-22T23:27:50+03:00\",\"Modified_By\":{\"name\":\"SmartHeart Admin\",\"id\":\"2945435000000132011\"},\"Created_Time\":\"2024-08-22T23:27:50+03:00\",\"id\":\"2945435000056845001\",\"Created_By\":{\"name\":\"SmartHeart Admin\",\"id\":\"2945435000000132011\"}}" ], "output_type": "string", "id": "44682000000589001" }, "message": "function executed successfully" } }