Skip to content

Update a custom field via API ?

edited May 2021 in Using Sendy

Hi Ben

If I use a custom field to tag my subscribers (according to actions and purchases), does it update or get overwritten :

For example :

Custom Filed = Bonus and contains "ABC, DEF, GHI"

After ironing in the API, does Bonus contain:

  • "ABC, DEF, GHI, JKL" ?
  • or "JKL" only ?

Thanks for explanation

Comments

  • Hi,

    It gets overwritten. "JKL" only.

    Best regards,
    Ben

  • Hi,

    Thanks for response.
    How I can update this custom field ?
    Maybe with PHP script directly in database ?

    Best regards
    Frédéric

  • When you call the subscribe API, you can update the custom field.

    Screenshot:

    API docs: https://sendy.co/api

    Best regards,
    Ben

This discussion has been closed.