Skip to main content

SiteContactRef

Who the person is on the site — the link that finds the same contact even after a change of number.

kindstringrequired

wp_user: a WordPress user. wc_customer: a WooCommerce customer. wc_guest: a purchase without an account. lead: someone known only by a form or a cart.

Possible values: [wp_user, wc_customer, wc_guest, lead]

idstringrequired

The person's id on the site. Someone without an account (wc_guest, lead) goes by the sha256 of their e-mail.

Possible values: non-empty and <= 191 characters

Example: 42
SiteContactRef
{
"kind": "wp_user",
"id": "42"
}