contacts
PUT /companies/{companySlug}/contacts/{contactId}
Changed onUpdates an existing contact.
Request
- Base URLhttps://api.fiken.no/api/v2
- URLhttps://api.fiken.no/api/v2/companies/{companySlug}/contacts/{contactId}
- AuthOAuth 2Authorization code: https://fiken.no/oauth/authorizeToken URL: https://fiken.no/oauth/token
Request body
Example request
{
"contactId": 2747365,
"createdDate": "2018-04-03",
"lastModifiedDate": "2018-04-03",
"name": "Fiken AS",
"email": "kontakt@fiken.gmail",
"organizationNumber": "913312465",
"customerNumber": 51248,
"customerAccountCode": "1500:20001",
"phoneNumber": "62158537",
"memberNumber": 5464,
"memberNumberString": "5464",
"supplierAccountCode": "2400:20001",
"bankAccountNumber": "11112233334",
"contactPerson": [
{
"contactPersonId": 2747365,
"name": "Betty Boop",
"email": "bb@gmail.com",
"phoneNumber": "98573564",
"address": {
"streetAddress": "Karl Johan 34",
"streetAddressLine2": "H0405",
"city": "Oslo",
"postCode": "0550",
"country": "Norway"
}
}
],
"notes": [
{
"author": "Betty Boop",
"note": "Garage 45"
}
],
"currency": "NOK",
"language": "Norwegian",
"inactive": true,
"daysUntilInvoicingDueDate": 15,
"discount": 25,
"address": {
"streetAddress": "Karl Johan 34",
"streetAddressLine2": "H0405",
"city": "Oslo",
"postCode": "0550",
"country": "Norway"
},
"documents": [
{
"uuid": "745b2f15-1234-4408-8bf2-b1d2d7610cb2",
"filename": "invoice_24760.pdf",
"identifier": "24760",
"type": "invoice"
}
]
}Response
Updated
Changes
- info
added the new optional request property
// - info
added the new optional request property
//
- info
- breaking
the
request property's minLength was increased from0to1 - warning
the
request property's maxLength was set to11 - warning
the
request property's maxLength was set to200 - warning
the
request property's maxLength was set to200 - warning
the
request property's maxLength was set to200 - info
added the new optional request property
- info
added the new optional request property
- info
request property
deprecated
- breaking