Update Existing Child Profiles

Once you have synced all child profile data, you will want to keep them up to date with any changes that occur in your system.

To update a child 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 child profile index response.

curl \
  -H "Accept: application/json" \
  -H "X-Auth-Token: 54f958af0a4e0f272df3a76d63c14f79" \
  -X PUT
  -D 'child_profile[primary_home_language]=English&child_profile[phone]=555-555-5555'
  https://localhost/api/child_profiles/94156

There will be no response body, but the Location header will contain a link to the updated profile.