Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning
titleOnly available in v0.2.x

The following endpoint is currently unavailable. It will be released in version 1.2.x with the mobile applications.

Resource URL

Create a new contact object.This endpoint can be used to update an existing contact. If you don't see the fields you are after, you may need to look at the get affiliation endpoint.

Resource URL

Code Block
languagebash
PUT /contacts/:id
ANY /contacts/:id?_method=PUT

...

firstnameString 
middlenamestring 
surnamestring 
preferred_namestring 
usernamestringMust be unique. Otherwise you will get invalid_request
passwordstring 
titlestring 
salutationstring 
commentsstring 
status_idunsigned intThis must point to a valid affiliation status id, otherwise you will get an invalid_request
standingstringMust be potential, interested, active or inactive, otherwise you will get an invalid_request.

Handling the response

Returns the created milestoneupdate contact. Please see get contact for details regarding handling of the response.