Search...
Generate a test token to explore our APIs
Contact Object
Attributes
NAME
TYPE
DESCRIPTION
id
Read Only
string
Contact ID.
revision
Read Only
integer
Revision number, which increments by 1 each time the contact is updated.
To prevent conflicting changes,
the existing revision
must be used when updating a contact.
source
Read Only
object
Details about the contact's source.
createdDate
Read Only
string
Date and time the contact was created.
updatedDate
Read Only
string
Date and time the contact was last updated.
lastActivity
Read Only
object
Details about the contact's last action in the site.
primaryInfo
Read Only
object
Contact's primary phone and email.
picture
Deprecated
Read Only
object
Contact's profile picture. This can contain an image URL and a Wix Media image ID.
Deprecation Notice: This property has been replaced with
info.picture
and will be removed on March 31, 2022. If your app uses this property, we recommend updating your code as soon as possible.
info
object
Contact's details.
Was this helpful?
Object
json
1{2 "id" : "8046df3c-7575-4098-a5ab-c91ad8f33c47",3 "revision" : 1,4 "source" : {5 "sourceType" : "IMPORT"6 },7 "createdDate" : "2019-10-30T17:22:10.299Z",8 "updatedDate" : "2019-10-30T17:22:10.299Z",9 "lastActivity" : {10 "activityDate" : "2019-10-30T17:22:10.299Z",11 "activityType" : "CONTACT_CREATED"12 },13 "primaryInfo" : {14 "email" : "email@example.com",15 "phone" : "097495550"16 },17 "picture" : {18 "id" : "",19 "url" : "https://www.wix.com/contacts-server/api/v1/metasite/avatar/8046df3c-7575-4098-a5ab-c91ad8f33c47/2528bd01086244efb191c1302d986566/",20 "height" : 50,21 "width" : 5022 },23 "info" : {24 "name" : {25 "first" : "Some",26 "last" : "One"27 },28 "emails" : {29 "items" : [ {30 "id" : "d8f0d88c-af92-4237-833f-56aaaa2b5168",31 "tag" : "MAIN",32 "email" : "email@example.com",33 "primary" : true34 }, {35 "id" : "5b430771-e6f1-4bea-9eb5-ad7472270605",36 "tag" : "MAIN",37 "email" : "email2@example.com"38 } ]39 },40 "phones" : {41 "items" : [ {42 "id" : "e5214c79-af80-4eff-87f2-408b0be4e710",43 "tag" : "HOME",44 "countryCode" : "IL",45 "phone" : "097495550",46 "e164Phone" : "+97297495550",47 "primary" : true48 }, {49 "id" : "59323148-ecf2-4bbe-a7eb-c1b01f43845e ",50 "tag" : "MOBILE",51 "countryCode" : "UA",52 "phone" : "0443955571",53 "e164Phone" : "+380443955571"54 } ]55 },56 "addresses" : {57 "items" : [ {58 "id" : "3f8bba59-150f-4ee7-9c58-632cbdae222c",59 "tag" : "HOME",60 "address" : {61 "country" : "US",62 "subdivision" : "US-ME",63 "city" : "Richmond",64 "postalCode" : "04357",65 "addressLine" : "1772 Fantages Way",66 "addressLine2" : "Apt 17"67 }68 }, {69 "id" : "be0b1932-e081-46b0-8dfa-a9f2409fa3a8",70 "tag" : "WORK",71 "address" : {72 "country" : "US",73 "subdivision" : "US-ME",74 "city" : "Richmond",75 "postalCode" : "04357",76 "streetAddress" : {77 "number" : "5",78 "name" : "Wingate"79 },80 "addressLine2" : "the code to the building is: *1234"81 }82 } ]83 },84 "company" : "Wix",85 "jobTitle" : "Developer",86 "birthdate" : "1980-12-01",87 "locale" : "en-us",88 "labelKeys" : {89 "items" : [ "contacts.contacted-me", "custom.my-label" ]90 },91 "extendedFields" : {92 "items" : {93 "custom.color" : "Blue",94 "custom.number" : 12,95 "custom.date" : "2020-01-01",96 "custom.url" : "http://domain.com",97 "members.membershipStatus" : "APPROVED",98 "emailSubscriptions.subscriptionStatus" : "SUBSCRIBED",99 "emailSubscriptions.deliverabilityStatus" : "ACTIVE",100 "emailSubscriptions.effectiveEmail" : "email@test.rocks",101 "ecom.numOfPurchases" : 1,102 "ecom.totalSpentAmount" : 2323,103 "ecom.totalSpentCurrency" : "USD",104 "ecom.lastPurchaseDate" : "2018-10-30T17:22:10.299Z"105 }106 },107 "locations" : {108 "items" : [ "d009f926-3273-11eb-adc1-0242ac120002", "cf2ca920-6ac7-451f-a19b-d0382ab3892f", "c5d3ff84-c18c-40c1-b6ac-9e003d6c5643" ]109 }110 }111}