Creates a loyalty account for one of a site's contacts.
To create a new loyalty account, the customer must first be a site contact with a contact ID. See the Contacts API to learn more about a site's contacts. The site must also have an active loyalty program before loyalty accounts can be created. See the activate loyalty program endpoint to activate a site's loyalty program.
You can only call this method when authenticated as a Wix app or Wix user identity.