Once you have synced all caregiver profile data, you will want to keep them up to date with any changes that occur in your system.
To update a caregiver profile, perform a PUT request to the correct URL. This is the same URL that is used to fetch a full version of the profile. You can match this by using the URI template provided in the caregiver profile index response.
curl \
-H "Accept: application/json" \
-H "X-Auth-Token: 54f958af0a4e0f272df3a76d63c14f79" \
-X PUT
-D 'caregiver_profile[primary_home_language]=English&caregiver_profile[phone]=555-555-5555'
https://localhost/api/caregiver_profiles/45009
There will be no response body, but the Location
header will contain a link to the updated profile.