How to Mark a Contact as Marketable using API

Hello

We are using the XML-RPC API OPT-IN Function where when the Contact is registered from our Website , it marks the contact as “Marketable”
https://developer.infusionsoft.com/docs/xml-rpc/#email-opt-in-an-email-address

Note : we are using Legacy API Key

However if the Contact already Exists ( we check it using https://developer.infusionsoft.com/docs/xml-rpc/#contact-create-a-contact-and-check-for-duplicates )
and the Contact has Email Status as “Unengaged Non-Marketable” then it is not updating the Contact as Marketable.

Please let me know if this possible using API and how .

Regards
Atul

Hi @Atul_Broadway_InfoTe, the API can only opt-in email addresses that are in the NonMarketable status. If you need to opt-in an email address that is “Unengaged Non-Marketable”, you will need to do so in the UI.