Feature Request: Set Contact/Member Subscribed Status API

Be able to set the contact the subscribed status of a contact and member via API.
#featurerequest #WixMembersRequest velo #WixContactsRequest

1 Like

You can do so with Rest API.

Hi there, can this be done in SDK / Velo? Understand that the subscription status is currently sitting within Extended Fields, as follows:

* {
* “revision”: 1,
* “source”: {
* “sourceType”: “WIX_CODE”,
* “appId”: “151e476a-715e-ec33-db9a-a7ff4d51f70a”
* },
* “lastActivity”: {
* “activityDate”: “2023-12-24T11:50:46.048Z”,
* “activityType”: “CONTACT_CREATED”
* },
* “primaryInfo”: {
* “email”: “johndoe1@example.com”,
* “phone”: “6465676359”
* },
* “info”: {
* “name”: {
* “first”: “John”,
* “last”: “Doe”
* },
* “emails”: {
* “items”: [
* {
* “tag”: “UNTAGGED”,
* “email”: “johndoe1@example.com”,
* “primary”: true,
* “_id”: “37db3bde-83c0-4ca2-8097-88964a2f343b”
* },
* ]
* },
* “phones”: {
* “items”: [
* {
* “tag”: “MOBILE”,
* “countryCode”: “US”,
* “phone”: “646-567-6359”,
* “e164Phone”: “+16465676359”,
* “primary”: true,
* “_id”: “ed1d7da0-b4a1-4164-81b7-c49dedc25dd7”
* }
* ]
* },
* “addresses”: {
* “items”: [
* {
* “tag”: “HOME”,
* “address”: {
* “formatted”: “3 Park Ave\nNY, New York 10010\nUnited States”,
* “addressLine1”: “3 Park Ave”,
* “city”: “NY”,
* “subdivision”: “US-NY”,
* “country”: “US”,
* “postalCode”: “10010”
* },
* “_id”: “eeb4e174-fd0f-4ce8-8cac-dc152f284228”
* }
* ]
* },
* “company”: “Wix”,
* “jobTitle”: “Writer”,
* “birthdate”: “1995-04-25”,
* “locale”: “en-us”,
* “labelKeys”: {
* “items”: [
* “custom.contact”
* ]
* },
* “extendedFields”: {
* “items”: {
* “contacts.displayByLastName”: “Doe John”,
* “invoices.vatId”: “”,
* “emailSubscriptions.deliverabilityStatus”: “NOT_SET”,
* “emailSubscriptions.subscriptionStatus": "UNSUBSCRIBED”,
* “contacts.displayByFirstName”: “John Doe”,
* “custom.nickname”: “Jonny”
* }
* }
* },
* “_id”: “2712ae1d-3f64-46c2-ac3a-94a6c2e29847”,
* “_createdDate”: “2023-12-24T11:50:46.049Z”,
* “_updatedDate”: “2023-12-24T12:50:46.047Z”
* }