FlowmageDocs

Update company

BetaChanges data

Changes a Carerix client company that already exists.

Settings

SettingWhat it is
ConnectionRequiredThe Carerix connection the step signs in with.
Company idThe _id of the company to change. Fields left empty are left alone. Carerix does not support patch semantics: a list field you send — attachments, skills, educations, phone numbers — REPLACES that whole list with what you send. Leave a list field out to leave it alone.
Company nametext
Short nametext
Streettext
House numbertext
Postal codetext
Citytext
Phone numbertext
E-mail addresstext
Websitetext
Debtor numbertext
Owner idtext
Other fieldsAny other CRCompanyRequest field, by name — docs.carerix.io/graphql has the full list. Dates are yyyy-MM-dd HH:mm:ss in Amsterdam time, and a list value is set by its code with a _lookup.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `carerix`)
companyIdtext
nametext
shortNametext
visitStreettext
visitNumbertext
visitPostalCodetext
visitCitytext
phoneNumbertext
emailAddresstext
urltext
debtorNumbertext
ownerUserIdtext
extraFieldsobject (any keys), by default {}

Output

FieldType
companyobject
Sample output, and the expression for each field
  • company
    • _id"31"
    • _kind"CRCompany"
    • name"Acme"

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "companyId": "",
    "connection": "<connection id>",
    "debtorNumber": "",
    "emailAddress": "",
    "extraFields": {},
    "name": "",
    "ownerUserId": "",
    "phoneNumber": "",
    "shortName": "",
    "url": "",
    "visitCity": "",
    "visitNumber": "",
    "visitPostalCode": "",
    "visitStreet": ""
  },
  "label": "Update company",
  "type": "carerix.updateCompany",
  "version": 1
}