{ "status_code": 200, "body": { "code": "success", "details": { "output": "ERROR: Duplicate Email found.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\":\"MA\",\"Gender\":\"Male\",\"Other_Country\":null,\"Department\":null,\"$state\":\"save\",\"$process_flow\":false,\"Assistant\":null,\"Currency\":\"USD\",\"id\":\"2945435000025901020\",\"$approval\":{\"delegate\":false,\"approve\":false,\"reject\":false,\"resubmit\":false},\"First_Visited_URL\":\"https:\/\/getsmartheart.com\/\",\"Created_Time\":\"2023-09-06T15:55:34-04:00\",\"Klaviyo_Profile_ID\":null,\"Last_Visited_Time\":\"2024-02-12T17:28:21-05:00\",\"Created_By\":{\"name\":\"SmartHeart Admin\",\"id\":\"2945435000000132011\",\"email\":\"noreply@smartheartpro.com\"},\"Description\":null,\"Number_Of_Chats\":0,\"$review_process\":{\"approve\":false,\"reject\":false,\"resubmit\":false},\"Other_Zip\":null,\"Mailing_Street\":\"32 Salisbury Road\",\"Average_Time_Spent_Minutes\":1.78,\"Salutation\":null,\"Full_Name\":\"Jason Bottiglieri\",\"Record_Image\":null,\"Account_Name\":{\"name\":\"Jason Bottiglieri\",\"id\":\"2945435000025930007\"},\"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\":\"bostonbott@comcast.net\",\"$currency_symbol\":\"$\",\"Visitor_Score\":\"674\",\"Other_Phone\":null,\"SFID\":null,\"Other_State\":null,\"UTM_Term\":null,\"Last_Activity_Time\":\"2024-02-12T17:30:12-05:00\",\"Identifier\":\"2220809\",\"Unsubscribed_Mode\":null,\"Exchange_Rate\":1,\"Mailing_Country\":\"United States\",\"$locked_for_me\":false,\"$approved\":true,\"Reporting_To\":null,\"Days_Visited\":4,\"Other_City\":null,\"Profile_Id\":null,\"$editable\":true,\"Home_Phone\":null,\"Profession\":null,\"Campaign\":null,\"UTM_Content\":null,\"Smartheart_Cloud_Id\":6968,\"Medium\":null,\"$zia_owner_assignment\":\"owner_recommendation_unavailable\",\"Secondary_Email\":null,\"Converted_Sales_Order\":null,\"Qtcf\":\"0\",\"Deal_Type\":\"1\",\"Mailing_Zip\":\"02445\",\"Klaviyo_First_Visit\":null,\"NPI\":null,\"Are_you_Ready\":null,\"UTM_Campaign\":null,\"Manually_Trigger_Welcome_Email\":true,\"Role_Id\":\"1\",\"First_Name\":\"Jason\",\"Asst_Phone\":null,\"Destributor_Id\":\"USA\",\"Modified_By\":{\"name\":\"SmartHeart Admin\",\"id\":\"2945435000000132011\",\"email\":\"noreply@smartheartpro.com\"},\"$review\":null,\"Phone\":\"6177383515\",\"Modified_Time\":\"2024-02-12T17:30:12-05:00\",\"Date_of_Birth\":\"1970-01-01\",\"Mailing_City\":\"Brookline\",\"Unsubscribed_Time\":null,\"Title\":null,\"Why_early_detection_matters\":null,\"First_Visited_Time\":\"2024-02-02T15:28:23-05:00\",\"Last_Name\":\"Bottiglieri\",\"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\":\"bostonbott@comcast.net\",\"$currency_symbol\":\"$\",\"$field_states\":null,\"Account_Type\":null,\"Gender\":\"male\",\"UTM_Term\":null,\"Last_Activity_Time\":\"2024-07-03T16:29:39-04:00\",\"Industry\":null,\"$state\":\"save\",\"$process_flow\":false,\"Exchange_Rate\":1,\"DOB\":\"1970-01-01\",\"Currency\":\"USD\",\"Billing_Country\":\"United States\",\"Reactivate\":false,\"$locked_for_me\":false,\"Are_you_ready\":null,\"id\":\"2945435000025930007\",\"$approved\":true,\"$approval\":{\"delegate\":false,\"approve\":false,\"reject\":false,\"resubmit\":false},\"Billing_Street\":\"32 Salisbury Road\",\"Created_Time\":\"2023-09-06T15:55:33-04:00\",\"$editable\":true,\"Billing_Code\":\"02445\",\"Shipping_City\":\"Brookline\",\"Shipping_Country\":\"United States\",\"Shipping_Code\":\"02445\",\"Campaign\":\"Heart Month Offer\",\"Prescription_File\":null,\"Billing_City\":\"Brookline\",\"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\":\"32 Salisbury Road\",\"Ownership\":null,\"Description\":null,\"Klaviyo_First_Visit\":null,\"Subscription_Start_Date\":\"2023-09-06\",\"UTM_Campaign\":null,\"Shipping_State\":\"MA\",\"$review_process\":{\"approve\":false,\"reject\":false,\"resubmit\":false},\"Website\":null,\"Employees\":null,\"Original_Shopify_Order_ID\":\"7142401605874\",\"Account_Cancellation_Date_Stamp\":\"2024-04-12T08:14:00-04:00\",\"Source\":null,\"First_Name\":\"Jason\",\"Record_Image\":null,\"Modified_By\":{\"name\":\"SmartHeart Support\",\"id\":\"2945435000027360003\",\"email\":\"contact@getsmartheart.com\"},\"$review\":null,\"Phone\":\"6177383515\",\"Purchaser_Last_Name\":\"Bottiglieri\",\"Account_Name\":\"Jason Bottiglieri\",\"Partner\":null,\"Subscription_End_Date\":\"2024-05-05\",\"Main_Contact_Email\":null,\"Modified_Time\":\"2024-06-07T14:00:19-04:00\",\"Cancellation_Disposition\":\"No response from Customer Support\",\"Why_early_detection_matters\":null,\"$orchestration\":false,\"Parent_Account\":null,\"ECG_Checkup\":null,\"Last_Name\":\"Bottiglieri\",\"Layout\":{\"name\":\"DTC Account\",\"id\":\"2945435000025613911\"},\"$in_merge\":false,\"Locked__s\":false,\"Billing_State\":\"MA\",\"UTM_Source\":null,\"Tag\":[],\"Purchaser_Phone_Number\":null,\"$approval_state\":\"approved\",\"Purchaser_First_Name\":\"Jason\",\"Account_Status\":null,\"Reactivated_Date\":null}", "Log Creation Response: {\"Modified_Time\":\"2024-07-03T16:29:59-04:00\",\"Modified_By\":{\"name\":\"SmartHeart Admin\",\"id\":\"2945435000000132011\"},\"Created_Time\":\"2024-07-03T16:29:59-04:00\",\"id\":\"2945435000051137006\",\"Created_By\":{\"name\":\"SmartHeart Admin\",\"id\":\"2945435000000132011\"}}" ], "output_type": "string", "id": "44682000000589001" }, "message": "function executed successfully" } }