Retrieves a contact.
The getContact()
function returns a Promise
that resolves when the contact is found.
When a source contact is merged
with a target contact, the source contact is deleted.
When calling getContact()
for a merged contact,
you can use the source or target contact ID.
In both cases, the target contact is returned.
This is supported only when calling getContact()
,
and only for merged contacts.
Deleted source contact IDs are not supported on any other function.
Notes:
wixCrmBackend.getContactById()
.
The deprecated function will continue to work, but it will not receive updates.
To keep any existing code compatible with future changes, see the
migration instructions.suppressAuth
option to true
.
ID of the contact to retrieve.
Authorization options.