Edit consumer user profile
PATCH/v1/auth/consumer-user/company/:company_id/user-profile
Edit consumer user profile detail
Request
Path Parameters
Unique ID of the company in scope.
- application/json
Body
required
first name and last name of the consumer user
phone number of the consumer user with the country code
Default value: EUR
Default currency
billable_address
object
Responses
- 201
- 401
- 422
successful operation
- application/json
- Schema
- Example (from schema)
Schema
Cents ID of the consumer user
Company external id of the user
first name and last name of the consumer user
email of the consumer user
Email anonymized flag (if email is anonymized or not)
phone number of the consumer user with the country code
Default value: EUR
Default currency
user_impact
object
user impact with its donations
total donated amount (in the smallest currency unit, so 1000 is 10.00€). Using consumer user main currency
detail of cost example related to donated amount
billable_address
object
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"external_id": 5.7496782767816784e+23,
"full_name": "Mario Rossi",
"email": "mario@email.com",
"email_anonymized": false,
"phone": 3933334445555,
"default_currency": "EUR",
"user_impact": {
"total_donations": 15000,
"cost_examples": {}
},
"billable_address": {
"street_address": "via Roma 5",
"city": "Milan",
"region_state": "Lombardia",
"zip_code": "20100",
"country": "Italy"
}
}
Unauthorized
Invalid input