Wild Apricot API Module - PUT Method to Update Contact - Help for a Newb

Newbie here. I am try to use the Wild Apricot API Module to update a contact’s First Name…just a test for now.

I’m getting this error: Your request was invalid: Existing item should provide ID. Use POST verb to create new item… [{“Key”:“Id”,“Value”:“blah”}]

I think I have endpoint path set correctly as per https://app.swaggerhub.com/apis-docs/WildApricot/wild-apricot_public_api/8.10.0-oas3#/Contacts/UpdateContactDetails

Can anyone provide a screenshot of a working example and body text?. I’m completely new to this
Much appreciated,
Richard

Figured it out !!! Thank you !

Hi @Richard_Shevloff, welcome to the Make community, and I’m glad you’ve solved your issue so quickly!

Could you please share with the Make community as to what you did to get it working? You can also then mark your solution as an answer.

Sharing your solution will help others with the same problem in future.

Thank you!

Hi again,
I neglected to post my solution. I had to add the contact ID to the Wild Apricot API JSON body as shown below. I am using the PUT method.

{
“ID”: ,
“FieldValues”: [
{
“FieldName”: “Moodle User ID”,
“SystemCode”: “custom-16200947”,
“Value”:
}
]
}

Hope this helps.

Richard

1 Like