Contact object in Salesforce represents a customer who is committed to buy OR has made at least one purchase already.
Required fields:
- LastName (required by Salesforce)
- Email (required by PowerSync)
- Magento Website (required by PowerSync)
Logic:
Primary goal is to find all customers where "Email" field matches an email address of a Contact in Salesforce OR if a Contact exist where Magento ID field matches the Magento ID field value of a customer in Magento.
...