v1
latestOpenAPI 3.0.12026-07-243686491.1 MBUsers
Update contact information for a user
Updates email and/or phone for a user. At least one field must be provided. Required scope: users:write </br>Organization authorization: supported
Availability: This endpoint is not available by default. It must be explicitly enabled for your operator account upon request. Please contact your Monta Business Partner to request access to this feature.
patch/api/v1/users/{userId}/contacts
Path parameters
userIdinteger required
Request body
Example request
{
"email": "user@example.com",
"phone": "+4512345678"
}Response
User contact information updated
Example response
{
"id": 10,
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"legalEmail": "legal@ut.com",
"phone": "+1234567890",
"profileImageUrl": "https://example.com/profile.jpg",
"address": {
"address1": "Strandboulevarden 122",
"address2": "København",
"address3": "5. sal",
"zip": "2100",
"city": "Copenhagen",
"province": "Lombardy",
"country": "Denmark",
"countryAreaId": 1
},
"language": "en",
"termsReadAt": "2023-06-21T15:03:14Z",
"taxIdentificationNumber": "X12345678A",
"vatNumber": " IT07643520567",
"recipientCode": "2021-10-001",
"createdAt": "2023-06-21T15:03:14Z",
"updatedAt": "2023-06-21T15:03:14Z",
"deletedAt": "2023-06-21T15:03:14Z",
"emailVerifiedAt": "2023-06-21T15:03:14Z",
"phoneVerifiedAt": "2023-06-21T15:03:14Z",
"marketingEmailsAcceptedAt": "2023-06-21T15:03:14Z",
"defaultTeamId": 10,
"nationalId": "123456-7890"
}