Skip to main content

Activity

commented on Set address used as primary address
We also need to set primary address, and we’re considering screen-scraping to automate this, as we’ve done with some other functions. But screen-scraping is a horrible kludge, and we consider it a serious shortcoming in NationBuilder’s API that it can’t do everything that can be done in the GUI. There are several things we’d like to do with the API, but can’t; setting primary address is only one of them.

For the order of email addresses, we use the API to rewrite them in the specific order we want, and I’d consider posting a Python code snippet here if that would help someone out.
posted 2021-12-13 07:34:46 -0800
commented on Deleting an address
The question was “How can I delete an address through the API?”, and the simple answer is “You can’t”. You also can’t set an entire address to null. You can make an address visually empty by populating it with empty strings "", but those are still strings, and the address’s values aren’t null, which is visible in both JSON returned from API GET and in exported CSV.
posted 2021-12-07 05:28:25 -0800