This operation will update a given customer.
curl --request PATCH \
--url https://integration-api-cat2./%7B{environment}%7D.ext.%7B{realm}%7D.cia.enfuce.com/customer/v3/CORPORATE/{id} \
--header 'Content-Type: application/json' \
--data '{
"email": "info@enfuce.com",
"phoneNumber": "+35821010001",
"mobileNumber": "+358401234567",
"customerNumber": "ABCDEFGH123456789",
"regNo": "19560606-1234",
"locale": "af_ZA",
"screening": {
"status": true
},
"address": {
"address1": "<string>",
"address2": "<string>",
"address3": "<string>",
"address4": "<string>",
"city": "<string>",
"country": "FIN",
"region": "<string>",
"zipCode": "<string>"
},
"temporaryAddress": {
"address1": "<string>",
"address2": "<string>",
"address3": "<string>",
"address4": "<string>",
"city": "<string>",
"country": "FIN",
"region": "<string>",
"zipCode": "<string>"
},
"additionalValues": [
{
"key": "<string>",
"value": "<string>"
}
],
"name": "Enfuce Financial Services Oy",
"customerRepresentative": "Mrs Smith",
"registration": {
"authority": "Patent and Registration Office",
"registrationDate": "2023-05-03"
},
"bankruptcyDate": "2023-05-03",
"riskScore": "Med"
}'
{
"description": "<string>",
"id": "<string>"
}
The customer id of which customer you want to update
The audit user to log the request
The fields that you want to apply to your newly created customer, these values will override the predefined template values
Updating set values
Successful update of customer
The response is of type object
.
curl --request PATCH \
--url https://integration-api-cat2./%7B{environment}%7D.ext.%7B{realm}%7D.cia.enfuce.com/customer/v3/CORPORATE/{id} \
--header 'Content-Type: application/json' \
--data '{
"email": "info@enfuce.com",
"phoneNumber": "+35821010001",
"mobileNumber": "+358401234567",
"customerNumber": "ABCDEFGH123456789",
"regNo": "19560606-1234",
"locale": "af_ZA",
"screening": {
"status": true
},
"address": {
"address1": "<string>",
"address2": "<string>",
"address3": "<string>",
"address4": "<string>",
"city": "<string>",
"country": "FIN",
"region": "<string>",
"zipCode": "<string>"
},
"temporaryAddress": {
"address1": "<string>",
"address2": "<string>",
"address3": "<string>",
"address4": "<string>",
"city": "<string>",
"country": "FIN",
"region": "<string>",
"zipCode": "<string>"
},
"additionalValues": [
{
"key": "<string>",
"value": "<string>"
}
],
"name": "Enfuce Financial Services Oy",
"customerRepresentative": "Mrs Smith",
"registration": {
"authority": "Patent and Registration Office",
"registrationDate": "2023-05-03"
},
"bankruptcyDate": "2023-05-03",
"riskScore": "Med"
}'
{
"description": "<string>",
"id": "<string>"
}