Update Mailing List Member

HTTP Request

PATCHhttps://staging.api-gw.propdata.net/contacts/api/v1/mailing-list/{id}/

Example Response

{
"id": 0,
"site": 0,
"meta": {},
"created": "2021-03-01T14:10:08.242Z",
"modified": "2021-03-01T14:10:08.242Z",
"deleted": "2021-03-01T14:10:08.242Z",
"uuid": "770bba28-9f80-4d40-9c51-6e022364af91",
"source_ref": "string",
"agent": -2147483648,
"active": false,
"user_types": [],
"source": "string",
"date_subscribed": "2021-03-01T14:10:08.242Z",
"date_unsubscribed": "2021-03-01T14:10:08.242Z",
"unsubscribe_hash": "string",
"contact": 0
}

NameDescription

id

required

integer

id of Record

NameDescription

id

integer

ID

site

integer

Site

meta

string

Meta

created

string

Created

modified

string

Modified

deleted

string

Deleted

uuid

string

Uuid

source_ref

nullable

string<= 100 characters

Source ref

agent

nullable

integer

Agent

active

boolean

Active

user_types

nullable

array of strings

User types

Choices: BuyerSellerTenantLandlordGeneral Enquiry

source

string

Source

Choices: BayutBoardCanvassingDubizzleEmail CampaignFacebookFlyer / PamphletGoogle DisplayGoogle SearchInstagramMobi SitePamphletPartnerPrint AdPrivate PropertyPromotionProperty 24Property FinderProperty PortalRadio AdReferralShowhouseSocial MediaSpouse / PartnerTV AdWalk-inWebsiteOther

date_subscribed

nullable

string

Date subscribed

date_unsubscribed

nullable

string

Date unsubscribed

unsubscribe_hash

nullable

string

Unsubscribe hash

contact

required

integer

Contact

Responses

200
400 Bad request body
403 You do not have permission to perform this action
404 Not found
500 Internal server error
503 This website is not active