curl --location --request POST 'https://api.cash-in.com/v2/updatecreditor' \
--header 'X-Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"CreditorUpdateDetails": {
"CreditorId": 0,
"Creditor_Business_Code": "123456-7",
"Creditor_Name1": "Company Official Name",
"Creditor_Name2": null,
"Creditor_Type": "Y",
"Creditor_Language_Code": "S",
"Creditor_Company_Type": "2",
"Creditor_Country_Code": "FIN",
"Creditor_Telephone": "0400400400",
"Creditor_Email_Address": "contact@company.com",
"Creditor_Website": null,
"Creditor_Visiting_Address": "Testaajankatu 1",
"Creditor_Postal_Address": "Testaajankatu 1",
"Creditor_Postal_Code": "00100",
"Creditor_Postal_District": "HELSINKI",
"Creditor_IBAN": "FI1410093000123458",
"Creditor_BIC": "NDEAFIHH",
"Billing_Postal_Address": "Testaajankatu 1",
"Billing_Postal_Code": "00100",
"Billing_Postal_District": "HELSINKI",
"Billing_Country_Code": "FIN",
"Partner_Code": null,
"Partner_Name": null
}
}'