PUT /api/v1/clients/
Updates critical profile data for a client in WispHub, such as their phone number or identity document (cédula). Especially useful when linking users without previously structured data.Path Parameters
The unique WispHub service identifier of the client to update.
Request Body
The client’s identity document number (cédula). Only include this field if you want to update it.
The client’s phone number. Only include this field if you want to update it.
At least one field (document or phone) must be provided. The endpoint only updates the fields that are explicitly included in the request body, preventing accidental overwrites.
Response
Returns aBackendResponse with no data payload.
Indicates if the request was successful
Response type (e.g., “success”, “error”)
Action identifier:
client_updated or client_update_failedAlways null for this endpoint
Descriptive message about the operation result
Example Request
Example Response
Successful update
Error Responses
400 Bad Request - No data provided
No valid data was provided for update
404 Not Found
Client with the specified service_id was not found
500 Internal Server Error
WispHub update operation failed
Partial Updates
You can update just the phone number:This endpoint only updates the fields provided in the request body. Fields that are not included will remain unchanged, preventing accidental data overwrites.
