🐛Change how contact merging works for loyalty holders
In the situation where an incoming contact payload has both a loyalty number and an email address attached to it, and an existing contact is found with matching details (some or all), which also has a loyalty number and details. Scenarios:
Matches with one contact, email address is the same but different loyalty number. Update loyalty number.
Matches with One contact, email address and loyalty number are different. Create a new contact.
Matches with multiple contacts, some with loyalty and email. If loyalty and email are different from incoming create new contact.
Matches with multiple contacts, some with loyalty and email. If email address is the same but loyalty number is different, update loyalty.
Matches with no contacts; create new contact.
Matches with no contacts with loyalty; normal merge preserving loyalty pair.