{ "status_code": 200, "body": { "code": "success", "details": { "output": "ERROR: Duplicate Email 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\":\"MS\",\"Gender\":\"Male\",\"Other_Country\":null,\"Department\":null,\"$state\":\"save\",\"$process_flow\":false,\"Assistant\":null,\"Currency\":\"USD\",\"id\":\"2945435000039193063\",\"$approval\":{\"delegate\":false,\"approve\":false,\"reject\":false,\"resubmit\":false},\"First_Visited_URL\":null,\"Created_Time\":\"2024-04-03T00:43:35+03:00\",\"Last_Visited_Time\":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\":\"56 Dyer Road\",\"Average_Time_Spent_Minutes\":null,\"Salutation\":null,\"Full_Name\":\"Michael Johnson\",\"Record_Image\":null,\"Account_Name\":{\"name\":\"Michael Johnson\",\"id\":\"2945435000039195004\"},\"Automatic_Measurments\":\"1\",\"Email_Opt_Out\":false,\"Enable_Preview_Screen\":null,\"Other_Street\":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\":\"mrmichaeljohnson501@icloud.com\",\"$currency_symbol\":\"$\",\"Visitor_Score\":null,\"Other_Phone\":null,\"SFID\":null,\"Other_State\":null,\"UTM_Term\":null,\"Last_Activity_Time\":\"2024-04-25T21:12:04+03:00\",\"Identifier\":\"2297609\",\"Unsubscribed_Mode\":null,\"Exchange_Rate\":1,\"URL_1\":null,\"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\":7823,\"Medium\":null,\"$zia_owner_assignment\":\"owner_recommendation_unavailable\",\"Secondary_Email\":null,\"Converted_Sales_Order\":null,\"Qtcf\":\"0\",\"Deal_Type\":\"1\",\"Mailing_Zip\":\"39120\",\"Klaviyo_First_Visit\":null,\"NPI\":null,\"Are_you_Ready\":null,\"UTM_Campaign\":null,\"Manually_Trigger_Welcome_Email\":true,\"Role_Id\":\"1\",\"First_Name\":\"Michael\",\"Asst_Phone\":null,\"Destributor_Id\":\"USA\",\"Modified_By\":{\"name\":\"SmartHeart Support\",\"id\":\"2945435000027360003\",\"email\":\"contact@getsmartheart.com\"},\"$review\":null,\"Phone\":\"16014934218\",\"Modified_Time\":\"2024-04-25T21:12:04+03:00\",\"Date_of_Birth\":\"1992-08-26\",\"Mailing_City\":\"Natchez\",\"Unsubscribed_Time\":null,\"Title\":null,\"Why_early_detection_matters\":null,\"First_Visited_Time\":null,\"Last_Name\":\"Johnson\",\"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: ", "Log Creation Response: {\"Modified_Time\":\"2024-05-05T01:44:55+03:00\",\"Modified_By\":{\"name\":\"SmartHeart Admin\",\"id\":\"2945435000000132011\"},\"Created_Time\":\"2024-05-05T01:44:55+03:00\",\"id\":\"2945435000043858001\",\"Created_By\":{\"name\":\"SmartHeart Admin\",\"id\":\"2945435000000132011\"}}" ], "output_type": "string", "id": "44682000000589001" }, "message": "function executed successfully" } }