You can use Get_Default_Value and specify email
comm_method_api.Get_Default_Value(party_type_ => 'CUSTOMER',
identity_ => '*CUSTOMER_NO*',
method_id_ => 'E_MAIL')
Just change *CUSTOMER_NO*
Looking at that API, Emails will only be returned if the “default per method” field is checked, and the party type is “PERSON”.
Callums response above is correct :)
You can use Get_Default_Value and specify email
comm_method_api.Get_Default_Value(party_type_ => 'CUSTOMER',
identity_ => '*CUSTOMER_NO*',
method_id_ => 'E_MAIL')
Just change *CUSTOMER_NO*
Hi @CallumW
thank you a lot. It works.