Salta ai contenuti

Get single contact by email and wineryId

POST
/v2/contacts/email
curl --request POST \
--url 'https://api-crm-staging.divinea.com/api/v2/contacts/email?email=example&wineryId=example' \
--header 'APIKey: <APIKey>'
email
required
string

Email

wineryId
required
string

WineryId

OK

Media type*/*
ContactDTO
object
acceptedMarketing

Accepted Marketing

boolean
Example
true
acceptedPrivacyTerms

Accepted Privacy Terms

boolean
Example
true
acceptedProfiling

Accepted Profiling

boolean
Example
true
contactType
required

Contact Type - At least one contact and one MASTER. The other ones can be saved if SECONDARY

string
Example
MASTER
countryIso
required

Country ISO

string
Example
IT
email
required

Email

string
Example
john.doe@gmail.com
firstName
required

First Name

string
Example
John
lastName
required

Last Name

string
Example
Doe
manualMarketing

Privacy Manual flagged by winery (has a signed paper)

boolean
Example
false
otherData

Other data to be safe

object
Example
{}
phoneNumber
required

Phone Number

string
Example
+39 123456789
unsubscribed

Privacy Unsubscribed

boolean
Example
false