How can we make it easier for you to develop on top of Wild Apricot?

Creating Bundles with API

All was going very well with the API V2 until I wanted to set up Bundles with the membership. I can create contacts and assign a membership level. But when I try to assign a create a Bundle Administrator or Bundle Member, nothing seems to take. The API says only a Bundle ID and NOT an email address like the Import can use. To automate this process, I don't/can't use the Import process.

Has anyone been successful in using the API to create a Bundle? (Administrator and/or Member)

Any help is greatly appreciated. Our trial is almost over and this is the last thing that would put us over the edge to purchase. Without it, I will have a hard time justifying the work to change providers.

Thanks.

2 votes
Sign in
(thinking…)
Password icon
Signed in as (Sign out)

We’ll send you updates on this idea

brsinburnsville shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

Now it is possible.

Step by step:
1. Create bundle admin
2. As a result of POST operation you will get a json of new contact.
So find a record in FieldValues with “FieldName”: “Bundle ID” and take “Value” from that record.
3. Create a bundle member
4. Check we have a bundle and it contains members we expect

Here is a complete description with requests you should send: https://gist.github.com/DmitriySmirnov/8b29429d75e9b66eef9c88d4a647a3e8

6 comments

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base