curl --request PUT \
--url https://api.example.com/partner/update \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"name": "<string>",
"email": "<string>",
"phoneNumber": "<string>",
"cedula": 123
}
'{
"message": "<string>"
}Update an existing partner information in the DEMET system
curl --request PUT \
--url https://api.example.com/partner/update \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"name": "<string>",
"email": "<string>",
"phoneNumber": "<string>",
"cedula": 123
}
'{
"message": "<string>"
}access_token cookie. All partner fields must be provided in the request.
"P001""Carlos Rodríguez""[email protected]""3215667890"1234567890"Socio Actualizado Exitosamente"curl -X PUT https://api.example.com/partner/update \
-H "Content-Type: application/json" \
-b "access_token=YOUR_JWT_TOKEN" \
-d '{
"id": "P001",
"name": "Carlos Rodríguez Updated",
"email": "[email protected]",
"phoneNumber": "3215667890",
"cedula": 1234567890
}'
{
"message": "Socio Actualizado Exitosamente"
}
{
"message": "Error de validación o datos duplicados"
}
{
"message": "Token no enviado o inválido"
}
{
"message": "Socio no encontrado"
}
{
"message": "Error interno del servidor"
}