Update contact property
Changes the fallback of a property. Its key and its type stay as they are.
View as
opensend.contactProperties.update(id, input)Needs the scopeaudiences:writeFrom a terminal
opensend contact-properties updateInput
id goes first, on its own, and the rest in one object. One object that holds id works too.
idstringRequiredThe id of the item. Up to 64 characters.
fallbackstring | number | boolean | nullRequiredThe new fallback, or
nullfor none.
Returns
The call resolves to the answer, already parsed. A call the API refuses throws OpenSendError with the code and the message of the answer. SDK lists the errors of the client itself.
object"contact_property"Always
contact_property.idstringThe id of the property.
keystringThe name contacts hold a value under, and the name of its
{{slot}}.typestringWhat its values are:
string,numberorboolean.One of
stringnumberbooleanfallbackstring | number | boolean | nullWhat fills its slot for a contact with no value, or
null.createdAtstringWhen the property was made.