Updates an existing contact in the HealthSherpa system. The contact must be owned by the authenticated agent. Only fields that are included in the request will be updated. When updating nested resources (drugs, pharmacies, providers), the existing nested records are replaced with the new ones.
Required scopes
This endpoint requires the following scopes:
: Access to Partner API v2 endpoints
Authorizations
OAuth2authorizationCodeRequired
OAuth 2.0 authentication with partner_api_v2 scope
Authorization URL: Token URL:
Path parameters
contact_idstringRequired
The HealthSherpa system ID of the contact to update
Body
Responses
200
Contact updated successfully
application/json
204
No changes were made to the contact
400
Validation error
application/json
401
Unauthorized - Invalid or missing OAuth token
application/json
404
Agent not found for the authenticated user
application/json
422
The request was well-formed but could not be processed