How do I make membership changes using membership api

Every year, we there are changes to the membership depending on the dues. I would like to use api to make changes to the membership variables through API. Is it possible to do that. What if new constituent never has a membership? I am not able to figure out the legacy_id. how can i get that for a new constituent ?

Comments

  • I am trying to make membership upgrade, renew, downgrade as well

  • Alex Wong
    Alex Wong Community All-Star
    Tenth Anniversary Kudos 5 Facilitator 4 bbcon 2025 Attendee Badge

    @Subash Mahat
    https://developer.sky.blackbaud.com/api#api=membership&operation=AddMembership

    Membership API only have a bunch of “GET” endpoints and one POST endpoint to add a membership to constituent. Meaning, you cannot use API to make changes to a membership after it has been created.

  • @Alex Wong
    Thank you. This is helpful.

  • @Alex Wong
    Is there a way around this?

  • Alex Wong
    Alex Wong Community All-Star
    Tenth Anniversary Kudos 5 Facilitator 4 bbcon 2025 Attendee Badge

    @Subash Mahat
    You can either not use Membership module, or use Membership module but instead of using API to make change to existing membership, you will create an import file that is to be used in database view to change existing. For creating new, you can use API.

  • @Subash Mahat If you decide to import the changes to memberships, I would look into some of the third party import tools as they have more functionality to help with downgrade, upgrade, re-join, etc. I am most familiar with the options in Importacular, but I believe that others would have similar functions.

  • Alex Wong
    Alex Wong Community All-Star
    Tenth Anniversary Kudos 5 Facilitator 4 bbcon 2025 Attendee Badge

    @Christine Robertson
    did not use membership import from importacular or imporomatic before so I am not sure what functionalities they have that helps with the up/down/rejoin. However, if Subash is already using API to create the import file, then the logic of up/down/rejoin would be coded into the automation that creates the import file CSV and wouldn't need another tool in my opinion. Of course, it is worth investigating these tool and maybe you don't even need to use API if their functionalities will do everything you need already.

Categories