Skip to the page

Update contact property

Changes the fallback of a property. Its key and its type stay as they are.

opensend contact-properties update <id> [flags]
Needs the scopeaudiences:write
Changes data

Flags

  • <id>stringRequired

    The id of the item. Up to 64 characters.

  • --fallbackstring | number | boolean | nullRequired

    The new fallback, or null for none.

Returns

The command prints the answer: as JSON when its output goes to a file or another program, and as a table or a list of fields in a terminal. When the API refuses, the error goes to the error stream and the command ends with a code that names the failure. Output and scripts lists the codes.

  • object"contact_property"

    Always contact_property.

  • idstring

    The id of the property.

  • keystring

    The name contacts hold a value under, and the name of its {{slot}}.

  • typestring

    What its values are: string, number or boolean.

    One ofstringnumberboolean

  • fallbackstring | number | boolean | null

    What fills its slot for a contact with no value, or null.

  • createdAtstring

    When the property was made.