enfore Contacts API (0.11.0)

Download OpenAPI specification:Download

enfore API for managing contacts (incl. customers, suppliers and alternative payers)

Contacts are entities that the organization has dealings with. Contacts can be split into individual contacts (i.e., human persons) and organization contacts (i.e., other organizations/businesses). Additionally, contacts can have roles such as being a supplier or a customer. A single contact can have multiple roles. I.e., a supplier can also be a customer.

Individual Contacts

Individual contacts are private persons that the organization has dealings with.

Load all individual contacts from an organization

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

query Parameters
limit
integer <int64> [ 1 .. 5000 ]

Max number of objects to be returned per page. Note that both the items as well as the problems arrays of the query response count towards this number to allow a simple, consistent paging over all items (and problems) of a given timeframe. If not given, defaults to 200.

offset
integer <int64> >= 0

Offset of items and problems of where to start the next page. Similar to limit and offset in SQL, one would obtain the second page with limit=10&offset=10. Note that this paging with limit and offset is within a time interval that is specified with from and to. If not given, defaults to 0.

Responses

200

Contacts are successfully returned

403

Credentials missing or not sufficient

get/org/{org-id}/individual

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ],
  • "problems":
    []
}

Add a new IndividualContact to the organization

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

Request Body schema: application/json
external_id
string [ 1 .. 256 ] characters
name
required
string
date_of_birth
string <date>
anniversary
string <date>

Responses

201

Contact has successfully been added

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

post/org/{org-id}/individual

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "external_id": "string",
  • "name": "string",
  • "date_of_birth": "2025-03-25",
  • "anniversary": "2025-03-25"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "external_id": "string",
  • "name": "string",
  • "date_of_birth": "2025-03-25",
  • "anniversary": "2025-03-25",
  • "deleted": true
}

Load an IndividualContact by its identifier

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

200

Contact is successfully returned

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "external_id": "string",
  • "name": "string",
  • "date_of_birth": "2025-03-25",
  • "anniversary": "2025-03-25",
  • "deleted": true
}

Full update of an IndividualContact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Request Body schema: application/json
external_id
string [ 1 .. 256 ] characters
name
required
string
date_of_birth
string <date>
anniversary
string <date>

Responses

200

Contact was successfully updated

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

put/org/{org-id}/individual/{contact-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "external_id": "string",
  • "name": "string",
  • "date_of_birth": "2025-03-25",
  • "anniversary": "2025-03-25"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "external_id": "string",
  • "name": "string",
  • "date_of_birth": "2025-03-25",
  • "anniversary": "2025-03-25",
  • "deleted": true
}

Delete an individual contact given the identifier

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

204

Contact

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

422

Specified data is semantically incorrect.

delete/org/{org-id}/individual/{contact-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}

Response samples

Content type
application/problem+json
Copy
Expand all Collapse all
{}

Load an IndividualContact with Subresources by its identifier

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

200

Contact is successfully returned

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}/full

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/full

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "individual_contact":
    {
    },
  • "addresses":
    [
    ],
  • "emails":
    [
    ],
  • "phones":
    [
    ],
  • "web_addresses":
    [
    ],
  • "professional_identities":
    [
    ],
  • "personal_relationships":
    [
    ],
  • "customer_role":
    {
    },
  • "supplier_role":
    {
    },
  • "alternative_payer_role":
    {
    }
}

Get all addresses of a contact.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

200

Address information is successfully returned

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}/addresses

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/addresses

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ],
  • "problems":
    []
}

Add a new address to a contact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Request Body schema: application/json
type
required
string (AddressType)
Enum: "NOT_QUALIFIED" "FACTORY" "HEADQUARTERS" "HOME_OFFICE" "OFFICE" "OFFICE_CENTER" "PACKSTATION" "PO_BOX" "POST_OFFICE" "RESIDENTIAL_HOME" "SECOND_HOME" "SERVICE_POINT" "STORE" "SUBSIDIARY" "VACATION_HOME" "WAREHOUSE"
full_address
required
string

The full address as a string suitable for display to an end user.

recipient_name
string
care_of
string
street_name
string
street_number
string
additional
string
city
string
zip
string
country_code
string (CountryCode)
Enum: "AF" "AX" "AL" "DZ" "AS" "AD" "AO" "AI" "AQ" "AG" "AR" "AM" "AW" "AU" "AT" "AZ" "BS" "BH" "BD" "BB" "BY" "BE" "BZ" "BJ" "BM" "BT" "BO" "BQ" "BA" "BW" "BV" "BR" "IO" "BN" "BG" "BF" "BI" "KH" "CM" "CA" "CV" "KY" "CF" "TD" "CL" "CN" "CX" "CC" "CO" "KM" "CG" "CD" "CK" "CR" "CI" "HR" "CU" "CW" "CY" "CZ" "DK" "DJ" "DM" "DO" "EC" "EG" "SV" "GQ" "ER" "EE" "ET" "FK" "FO" "FJ" "FI" "FR" "GF" "PF" "TF" "GA" "GM" "GE" "DE" "GH" "GI" "GR" "GL" "GD" "GP" "GU" "GT" "GG" "GN" "GW" "GY" "HT" "HM" "VA" "HN" "HK" "HU" "IS" "IN" "ID" "IR" "IQ" "IE" "IM" "IL" "IT" "JM" "JP" "JE" "JO" "KZ" "KE" "KI" "KP" "KR" "KW" "KG" "LA" "LV" "LB" "LS" "LR" "LY" "LI" "LT" "LU" "MO" "MK" "MG" "MW" "MY" "MV" "ML" "MT" "MH" "MQ" "MR" "MU" "YT" "MX" "FM" "MD" "MC" "MN" "ME" "MS" "MA" "MZ" "MM" "NA" "NR" "NP" "NL" "NC" "NZ" "NI" "NE" "NG" "NU" "NF" "MP" "OM" "PK" "PW" "PS" "PA" "PG" "PY" "PE" "PH" "PN" "PL" "PT" "PR" "QA" "RE" "RO" "RU" "RW" "BL" "SH" "KN" "LC" "MF" "PM" "VC" "WS" "SM" "ST" "SA" "SN" "RS" "SC" "SL" "SG" "SX" "SK" "SI" "SB" "SO" "ZA" "GS" "ES" "LK" "SD" "SS" "SR" "SJ" "SZ" "SE" "CH" "SY" "TW" "TJ" "TZ" "TH" "TL" "TG" "TK" "TO" "TT" "TN" "TR" "TM" "TC" "TV" "UG" "UA" "AE" "GB" "US" "UM" "UY" "UZ" "VU" "VE" "VN" "VG" "VI" "WF" "EH" "YE" "ZM" "ZW" "AN" "WG" "NO"

The country code according to iso-3166-1-alpha-2

description
string
usages
Array of strings (AddressUsage)
Items Enum: "EVERYTHING" "CORRESPONDENCE" "INVOICES" "SHIPPING"
usage_context
required
string (UsageContext)
Enum: "ORGANIZATION" "PERSONAL" "PROFESSIONAL"

Responses

201

Address has successfully been added

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

post/org/{org-id}/individual/{contact-id}/addresses

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/addresses

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "type": "NOT_QUALIFIED",
  • "full_address": "string",
  • "recipient_name": "string",
  • "care_of": "string",
  • "street_name": "string",
  • "street_number": "string",
  • "additional": "string",
  • "city": "string",
  • "zip": "string",
  • "country_code": "AF",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "full_address": "string",
  • "recipient_name": "string",
  • "care_of": "string",
  • "street_name": "string",
  • "street_number": "string",
  • "additional": "string",
  • "city": "string",
  • "zip": "string",
  • "country_code": "AF",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Load an address by parent contact and identifier

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

address-id
required
string

ID of the address

Responses

200

Address is successfully returned

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}/addresses/{address-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/addresses/{address-id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "full_address": "string",
  • "recipient_name": "string",
  • "care_of": "string",
  • "street_name": "string",
  • "street_number": "string",
  • "additional": "string",
  • "city": "string",
  • "zip": "string",
  • "country_code": "AF",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Full update of an address

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

address-id
required
string

ID of the address

Request Body schema: application/json
type
required
string (AddressType)
Enum: "NOT_QUALIFIED" "FACTORY" "HEADQUARTERS" "HOME_OFFICE" "OFFICE" "OFFICE_CENTER" "PACKSTATION" "PO_BOX" "POST_OFFICE" "RESIDENTIAL_HOME" "SECOND_HOME" "SERVICE_POINT" "STORE" "SUBSIDIARY" "VACATION_HOME" "WAREHOUSE"
full_address
required
string

The full address as a string suitable for display to an end user.

recipient_name
string
care_of
string
street_name
string
street_number
string
additional
string
city
string
zip
string
country_code
string (CountryCode)
Enum: "AF" "AX" "AL" "DZ" "AS" "AD" "AO" "AI" "AQ" "AG" "AR" "AM" "AW" "AU" "AT" "AZ" "BS" "BH" "BD" "BB" "BY" "BE" "BZ" "BJ" "BM" "BT" "BO" "BQ" "BA" "BW" "BV" "BR" "IO" "BN" "BG" "BF" "BI" "KH" "CM" "CA" "CV" "KY" "CF" "TD" "CL" "CN" "CX" "CC" "CO" "KM" "CG" "CD" "CK" "CR" "CI" "HR" "CU" "CW" "CY" "CZ" "DK" "DJ" "DM" "DO" "EC" "EG" "SV" "GQ" "ER" "EE" "ET" "FK" "FO" "FJ" "FI" "FR" "GF" "PF" "TF" "GA" "GM" "GE" "DE" "GH" "GI" "GR" "GL" "GD" "GP" "GU" "GT" "GG" "GN" "GW" "GY" "HT" "HM" "VA" "HN" "HK" "HU" "IS" "IN" "ID" "IR" "IQ" "IE" "IM" "IL" "IT" "JM" "JP" "JE" "JO" "KZ" "KE" "KI" "KP" "KR" "KW" "KG" "LA" "LV" "LB" "LS" "LR" "LY" "LI" "LT" "LU" "MO" "MK" "MG" "MW" "MY" "MV" "ML" "MT" "MH" "MQ" "MR" "MU" "YT" "MX" "FM" "MD" "MC" "MN" "ME" "MS" "MA" "MZ" "MM" "NA" "NR" "NP" "NL" "NC" "NZ" "NI" "NE" "NG" "NU" "NF" "MP" "OM" "PK" "PW" "PS" "PA" "PG" "PY" "PE" "PH" "PN" "PL" "PT" "PR" "QA" "RE" "RO" "RU" "RW" "BL" "SH" "KN" "LC" "MF" "PM" "VC" "WS" "SM" "ST" "SA" "SN" "RS" "SC" "SL" "SG" "SX" "SK" "SI" "SB" "SO" "ZA" "GS" "ES" "LK" "SD" "SS" "SR" "SJ" "SZ" "SE" "CH" "SY" "TW" "TJ" "TZ" "TH" "TL" "TG" "TK" "TO" "TT" "TN" "TR" "TM" "TC" "TV" "UG" "UA" "AE" "GB" "US" "UM" "UY" "UZ" "VU" "VE" "VN" "VG" "VI" "WF" "EH" "YE" "ZM" "ZW" "AN" "WG" "NO"

The country code according to iso-3166-1-alpha-2

description
string
usages
Array of strings (AddressUsage)
Items Enum: "EVERYTHING" "CORRESPONDENCE" "INVOICES" "SHIPPING"
usage_context
required
string (UsageContext)
Enum: "ORGANIZATION" "PERSONAL" "PROFESSIONAL"

Responses

200

Address was successfully updated

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

put/org/{org-id}/individual/{contact-id}/addresses/{address-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/addresses/{address-id}

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "type": "NOT_QUALIFIED",
  • "full_address": "string",
  • "recipient_name": "string",
  • "care_of": "string",
  • "street_name": "string",
  • "street_number": "string",
  • "additional": "string",
  • "city": "string",
  • "zip": "string",
  • "country_code": "AF",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "full_address": "string",
  • "recipient_name": "string",
  • "care_of": "string",
  • "street_name": "string",
  • "street_number": "string",
  • "additional": "string",
  • "city": "string",
  • "zip": "string",
  • "country_code": "AF",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Delete this address

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

address-id
required
string

ID of the address

Responses

204

Delete successful

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

422

Specified data is semantically incorrect.

delete/org/{org-id}/individual/{contact-id}/addresses/{address-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/addresses/{address-id}

Response samples

Content type
application/problem+json
Copy
Expand all Collapse all
{}

Get all emails of a contact.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

200

Email information is successfully returned

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}/emails

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/emails

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ],
  • "problems":
    []
}

Add a new email to a contact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Request Body schema: application/json
type
required
string (EmailType)
Enum: "NOT_QUALIFIED" "EMAIL_ALIAS" "MAILING_LIST" "PERSONAL_EMAIL" "WORK_EMAIL"
address
required
string <email>
description
string
usage_context
required
string (UsageContext)
Enum: "ORGANIZATION" "PERSONAL" "PROFESSIONAL"

Responses

201

Email has successfully been added

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

post/org/{org-id}/individual/{contact-id}/emails

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/emails

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "type": "NOT_QUALIFIED",
  • "address": "user@example.com",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "address": "user@example.com",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Load an email by parent contact and identifier

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

email-id
required
string

ID of the email

Responses

200

Email is successfully returned

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}/emails/{email-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/emails/{email-id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "address": "user@example.com",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Full update of an email

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

email-id
required
string

ID of the email

Request Body schema: application/json
type
required
string (EmailType)
Enum: "NOT_QUALIFIED" "EMAIL_ALIAS" "MAILING_LIST" "PERSONAL_EMAIL" "WORK_EMAIL"
address
required
string <email>
description
string
usage_context
required
string (UsageContext)
Enum: "ORGANIZATION" "PERSONAL" "PROFESSIONAL"

Responses

200

Email was successfully updated

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

put/org/{org-id}/individual/{contact-id}/emails/{email-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/emails/{email-id}

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "type": "NOT_QUALIFIED",
  • "address": "user@example.com",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "address": "user@example.com",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Delete this email

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

email-id
required
string

ID of the email

Responses

204

Delete successful

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

422

Specified data is semantically incorrect.

delete/org/{org-id}/individual/{contact-id}/emails/{email-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/emails/{email-id}

Response samples

Content type
application/problem+json
Copy
Expand all Collapse all
{}

Get all phones of a contact.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

200

Phone information is successfully returned

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}/phones

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/phones

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ],
  • "problems":
    []
}

Add a new phone to a contact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Request Body schema: application/json
type
required
string (PhoneType)
Enum: "NOT_QUALIFIED" "DIRECT_EXTENSION" "DIRECT_FAX" "DIRECT_LINE" "FAX_LINE" "FIXED_LINE" "HOME_FAX" "HOME_PHONE" "HOTLINE" "MAIN" "MAIN_FAX" "MOBILE" "PAGER" "PERSONAL_MOBILE" "SAT" "VIRTUAL_LINE" "VOIP_LINE" "WORK_MOBILE"
number
required
string
description
string
usages
Array of strings (PhoneUsage)
Items Enum: "EVERYTHING" "CALL" "SMS" "WHATSAPP"
usage_context
required
string (UsageContext)
Enum: "ORGANIZATION" "PERSONAL" "PROFESSIONAL"

Responses

201

Phone has successfully been added

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

post/org/{org-id}/individual/{contact-id}/phones

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/phones

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "type": "NOT_QUALIFIED",
  • "number": "string",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "number": "string",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Load an phone by parent contact and identifier

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

phone-id
required
string

ID of the phone

Responses

200

Phone is successfully returned

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}/phones/{phone-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/phones/{phone-id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "number": "string",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Full update of an phone

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

phone-id
required
string

ID of the phone

Request Body schema: application/json
type
required
string (PhoneType)
Enum: "NOT_QUALIFIED" "DIRECT_EXTENSION" "DIRECT_FAX" "DIRECT_LINE" "FAX_LINE" "FIXED_LINE" "HOME_FAX" "HOME_PHONE" "HOTLINE" "MAIN" "MAIN_FAX" "MOBILE" "PAGER" "PERSONAL_MOBILE" "SAT" "VIRTUAL_LINE" "VOIP_LINE" "WORK_MOBILE"
number
required
string
description
string
usages
Array of strings (PhoneUsage)
Items Enum: "EVERYTHING" "CALL" "SMS" "WHATSAPP"
usage_context
required
string (UsageContext)
Enum: "ORGANIZATION" "PERSONAL" "PROFESSIONAL"

Responses

200

Phone was successfully updated

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

put/org/{org-id}/individual/{contact-id}/phones/{phone-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/phones/{phone-id}

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "type": "NOT_QUALIFIED",
  • "number": "string",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "number": "string",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Delete this phone

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

phone-id
required
string

ID of the phone

Responses

204

Delete successful

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

422

Specified data is semantically incorrect.

delete/org/{org-id}/individual/{contact-id}/phones/{phone-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/phones/{phone-id}

Response samples

Content type
application/problem+json
Copy
Expand all Collapse all
{}

Get all web addresses of a contact.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

200

Web address information is successfully returned

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}/web-addresses

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/web-addresses

Response samples

Content type
application/json
Copy
Expand all Collapse all
{}

Add a new web address to a contact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Request Body schema: application/json
type
required
string (WebAddressType)
Enum: "NOT_QUALIFIED" "BLOG" "FACEBOOK_PAGE_OR_PROFILE" "GOOGLE_PLUS_PROFILE" "HOMEPAGE_OR_WEBSITE" "LINKEDIN_PROFILE" "ONLINE_STORE" "ORGANIZATION_BLOG" "ORGANIZATION_PROFILE" "ORGANIZATION_WEBSITE" "OTHER" "PERSONAL_BLOG" "PERSONAL_PROFILE" "PERSONAL_WEBSITE" "PROFESSIONAL_BLOG" "PROFESSIONAL_PROFILE" "PROFESSIONAL_WEBSITE" "TWITTER_PROFILE" "TWITTER_STREAM" "XING_PROFILE" "YELP_IMAGE" "INSTAGRAM_PROFILE" "YOUTUBE"
url
required
string <uri>
description
string
usage_context
required
string (UsageContext)
Enum: "ORGANIZATION" "PERSONAL" "PROFESSIONAL"

Responses

201

Web address has successfully been added

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

post/org/{org-id}/individual/{contact-id}/web-addresses

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/web-addresses

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "type": "NOT_QUALIFIED",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Load a web address by parent contact and identifier

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

web-address-id
required
string

ID of the address

Responses

200

Web address is successfully returned

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}/web-addresses/{web-address-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/web-addresses/{web-address-id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Full update of a web address

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

web-address-id
required
string

ID of the address

Request Body schema: application/json
type
required
string (WebAddressType)
Enum: "NOT_QUALIFIED" "BLOG" "FACEBOOK_PAGE_OR_PROFILE" "GOOGLE_PLUS_PROFILE" "HOMEPAGE_OR_WEBSITE" "LINKEDIN_PROFILE" "ONLINE_STORE" "ORGANIZATION_BLOG" "ORGANIZATION_PROFILE" "ORGANIZATION_WEBSITE" "OTHER" "PERSONAL_BLOG" "PERSONAL_PROFILE" "PERSONAL_WEBSITE" "PROFESSIONAL_BLOG" "PROFESSIONAL_PROFILE" "PROFESSIONAL_WEBSITE" "TWITTER_PROFILE" "TWITTER_STREAM" "XING_PROFILE" "YELP_IMAGE" "INSTAGRAM_PROFILE" "YOUTUBE"
url
required
string <uri>
description
string
usage_context
required
string (UsageContext)
Enum: "ORGANIZATION" "PERSONAL" "PROFESSIONAL"

Responses

200

Address was successfully updated

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

put/org/{org-id}/individual/{contact-id}/web-addresses/{web-address-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/web-addresses/{web-address-id}

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "type": "NOT_QUALIFIED",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Delete this address

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

web-address-id
required
string

ID of the address

Responses

204

Delete successful

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

422

Specified data is semantically incorrect.

delete/org/{org-id}/individual/{contact-id}/web-addresses/{web-address-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/web-addresses/{web-address-id}

Response samples

Content type
application/problem+json
Copy
Expand all Collapse all
{}

Individual Contacts: Professional Identities

Get all professional identities of an IndividualContact.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

200

Professional identity information is successfully returned

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}/professional-identities

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/professional-identities

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ],
  • "problems":
    []
}

Add a new professional identity to an IndividualContact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Request Body schema: application/json
organization_contact
required
string [ 1 .. 256 ] characters

The ID of the OrganizationContact that the IndividualContact owning the ProfessionalIdentity represents.

is_active
required
boolean
job_title
string
departments
Array of objects (OrganizationDepartmentRef)

The departments of the represented organization that the person works at. The array contains the IDs which reference Department items that belong to the OrganizationContact referenced by the PIs "organization_contact" field.

locations
Array of objects (OrganizationLocationRef)

The locations of the represented organization that the person works at. The array contains the IDs which reference Location items that belong to the OrganizationContact referenced by the PIs "organization_contact" field.

Responses

201

ProfessionalIdentity has successfully been added

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

post/org/{org-id}/individual/{contact-id}/professional-identities

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/professional-identities

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "organization_contact": "string",
  • "is_active": true,
  • "job_title": "string",
  • "departments":
    [
    ],
  • "locations":
    [
    ]
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "organization_contact": "string",
  • "is_active": true,
  • "job_title": "string",
  • "departments":
    [
    ],
  • "locations":
    [
    ]
}

Get all professional identities with Subresources of an IndividualContact.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

200

Professional identity information is successfully returned

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}/professional-identities/full

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/professional-identities/full

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ],
  • "problems":
    []
}

Load a ProfessionalIdentity by parent contact and identifier

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

professional-identity-id
required
string

ID of the ProfessionalIdentity

Responses

200

ProfessionalIdentity is successfully returned

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "organization_contact": "string",
  • "is_active": true,
  • "job_title": "string",
  • "departments":
    [
    ],
  • "locations":
    [
    ]
}

Full update of a ProfessionalIdentity

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

professional-identity-id
required
string

ID of the ProfessionalIdentity

Request Body schema: application/json
is_active
required
boolean
job_title
string
departments
Array of objects (OrganizationDepartmentRef)

The departments of the represented organization that the person works at. The array contains the IDs which reference Department items that belong to the OrganizationContact referenced by the PIs "organization_contact" field.

locations
Array of objects (OrganizationLocationRef)

The locations of the represented organization that the person works at. The array contains the IDs which reference Location items that belong to the OrganizationContact referenced by the PIs "organization_contact" field.

Responses

200

ProfessionalIdentity was successfully updated

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

put/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "is_active": true,
  • "job_title": "string",
  • "departments":
    [
    ],
  • "locations":
    [
    ]
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "organization_contact": "string",
  • "is_active": true,
  • "job_title": "string",
  • "departments":
    [
    ],
  • "locations":
    [
    ]
}

Load a ProfessionalIdentity with Subresources by parent contact and identifier

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

professional-identity-id
required
string

ID of the ProfessionalIdentity

Responses

200

ProfessionalIdentity is successfully returned

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/full

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/full

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "professional_identity":
    {
    },
  • "addresses":
    [
    ],
  • "emails":
    [
    ],
  • "phones":
    [
    ],
  • "web_addresses":
    [
    ]
}

Get all addresses of a professional identity of a contact.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

professional-identity-id
required
string

ID of the professional identity

Responses

200

Address information is successfully returned

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/addresses

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/addresses

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ],
  • "problems":
    []
}

Add a new address to a professional identity of a contact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

professional-identity-id
required
string

ID of the professional identity

Request Body schema: application/json
type
required
string (AddressType)
Enum: "NOT_QUALIFIED" "FACTORY" "HEADQUARTERS" "HOME_OFFICE" "OFFICE" "OFFICE_CENTER" "PACKSTATION" "PO_BOX" "POST_OFFICE" "RESIDENTIAL_HOME" "SECOND_HOME" "SERVICE_POINT" "STORE" "SUBSIDIARY" "VACATION_HOME" "WAREHOUSE"
full_address
required
string

The full address as a string suitable for display to an end user.

recipient_name
string
care_of
string
street_name
string
street_number
string
additional
string
city
string
zip
string
country_code
string (CountryCode)
Enum: "AF" "AX" "AL" "DZ" "AS" "AD" "AO" "AI" "AQ" "AG" "AR" "AM" "AW" "AU" "AT" "AZ" "BS" "BH" "BD" "BB" "BY" "BE" "BZ" "BJ" "BM" "BT" "BO" "BQ" "BA" "BW" "BV" "BR" "IO" "BN" "BG" "BF" "BI" "KH" "CM" "CA" "CV" "KY" "CF" "TD" "CL" "CN" "CX" "CC" "CO" "KM" "CG" "CD" "CK" "CR" "CI" "HR" "CU" "CW" "CY" "CZ" "DK" "DJ" "DM" "DO" "EC" "EG" "SV" "GQ" "ER" "EE" "ET" "FK" "FO" "FJ" "FI" "FR" "GF" "PF" "TF" "GA" "GM" "GE" "DE" "GH" "GI" "GR" "GL" "GD" "GP" "GU" "GT" "GG" "GN" "GW" "GY" "HT" "HM" "VA" "HN" "HK" "HU" "IS" "IN" "ID" "IR" "IQ" "IE" "IM" "IL" "IT" "JM" "JP" "JE" "JO" "KZ" "KE" "KI" "KP" "KR" "KW" "KG" "LA" "LV" "LB" "LS" "LR" "LY" "LI" "LT" "LU" "MO" "MK" "MG" "MW" "MY" "MV" "ML" "MT" "MH" "MQ" "MR" "MU" "YT" "MX" "FM" "MD" "MC" "MN" "ME" "MS" "MA" "MZ" "MM" "NA" "NR" "NP" "NL" "NC" "NZ" "NI" "NE" "NG" "NU" "NF" "MP" "OM" "PK" "PW" "PS" "PA" "PG" "PY" "PE" "PH" "PN" "PL" "PT" "PR" "QA" "RE" "RO" "RU" "RW" "BL" "SH" "KN" "LC" "MF" "PM" "VC" "WS" "SM" "ST" "SA" "SN" "RS" "SC" "SL" "SG" "SX" "SK" "SI" "SB" "SO" "ZA" "GS" "ES" "LK" "SD" "SS" "SR" "SJ" "SZ" "SE" "CH" "SY" "TW" "TJ" "TZ" "TH" "TL" "TG" "TK" "TO" "TT" "TN" "TR" "TM" "TC" "TV" "UG" "UA" "AE" "GB" "US" "UM" "UY" "UZ" "VU" "VE" "VN" "VG" "VI" "WF" "EH" "YE" "ZM" "ZW" "AN" "WG" "NO"

The country code according to iso-3166-1-alpha-2

description
string
usages
Array of strings (AddressUsage)
Items Enum: "EVERYTHING" "CORRESPONDENCE" "INVOICES" "SHIPPING"
usage_context
required
string (UsageContext)
Enum: "ORGANIZATION" "PERSONAL" "PROFESSIONAL"

Responses

201

Address has successfully been added

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

post/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/addresses

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/addresses

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "type": "NOT_QUALIFIED",
  • "full_address": "string",
  • "recipient_name": "string",
  • "care_of": "string",
  • "street_name": "string",
  • "street_number": "string",
  • "additional": "string",
  • "city": "string",
  • "zip": "string",
  • "country_code": "AF",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "full_address": "string",
  • "recipient_name": "string",
  • "care_of": "string",
  • "street_name": "string",
  • "street_number": "string",
  • "additional": "string",
  • "city": "string",
  • "zip": "string",
  • "country_code": "AF",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Load an address by parent contact, professional identity and identifier

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

professional-identity-id
required
string

ID of the professional identity the address belongs to

address-id
required
string

ID of the address

Responses

200

Address is successfully returned

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/addresses/{address-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/addresses/{address-id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "full_address": "string",
  • "recipient_name": "string",
  • "care_of": "string",
  • "street_name": "string",
  • "street_number": "string",
  • "additional": "string",
  • "city": "string",
  • "zip": "string",
  • "country_code": "AF",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Full update of an address

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

professional-identity-id
required
string

ID of the professional identity the address belongs to

address-id
required
string

ID of the address

Request Body schema: application/json
type
required
string (AddressType)
Enum: "NOT_QUALIFIED" "FACTORY" "HEADQUARTERS" "HOME_OFFICE" "OFFICE" "OFFICE_CENTER" "PACKSTATION" "PO_BOX" "POST_OFFICE" "RESIDENTIAL_HOME" "SECOND_HOME" "SERVICE_POINT" "STORE" "SUBSIDIARY" "VACATION_HOME" "WAREHOUSE"
full_address
required
string

The full address as a string suitable for display to an end user.

recipient_name
string
care_of
string
street_name
string
street_number
string
additional
string
city
string
zip
string
country_code
string (CountryCode)
Enum: "AF" "AX" "AL" "DZ" "AS" "AD" "AO" "AI" "AQ" "AG" "AR" "AM" "AW" "AU" "AT" "AZ" "BS" "BH" "BD" "BB" "BY" "BE" "BZ" "BJ" "BM" "BT" "BO" "BQ" "BA" "BW" "BV" "BR" "IO" "BN" "BG" "BF" "BI" "KH" "CM" "CA" "CV" "KY" "CF" "TD" "CL" "CN" "CX" "CC" "CO" "KM" "CG" "CD" "CK" "CR" "CI" "HR" "CU" "CW" "CY" "CZ" "DK" "DJ" "DM" "DO" "EC" "EG" "SV" "GQ" "ER" "EE" "ET" "FK" "FO" "FJ" "FI" "FR" "GF" "PF" "TF" "GA" "GM" "GE" "DE" "GH" "GI" "GR" "GL" "GD" "GP" "GU" "GT" "GG" "GN" "GW" "GY" "HT" "HM" "VA" "HN" "HK" "HU" "IS" "IN" "ID" "IR" "IQ" "IE" "IM" "IL" "IT" "JM" "JP" "JE" "JO" "KZ" "KE" "KI" "KP" "KR" "KW" "KG" "LA" "LV" "LB" "LS" "LR" "LY" "LI" "LT" "LU" "MO" "MK" "MG" "MW" "MY" "MV" "ML" "MT" "MH" "MQ" "MR" "MU" "YT" "MX" "FM" "MD" "MC" "MN" "ME" "MS" "MA" "MZ" "MM" "NA" "NR" "NP" "NL" "NC" "NZ" "NI" "NE" "NG" "NU" "NF" "MP" "OM" "PK" "PW" "PS" "PA" "PG" "PY" "PE" "PH" "PN" "PL" "PT" "PR" "QA" "RE" "RO" "RU" "RW" "BL" "SH" "KN" "LC" "MF" "PM" "VC" "WS" "SM" "ST" "SA" "SN" "RS" "SC" "SL" "SG" "SX" "SK" "SI" "SB" "SO" "ZA" "GS" "ES" "LK" "SD" "SS" "SR" "SJ" "SZ" "SE" "CH" "SY" "TW" "TJ" "TZ" "TH" "TL" "TG" "TK" "TO" "TT" "TN" "TR" "TM" "TC" "TV" "UG" "UA" "AE" "GB" "US" "UM" "UY" "UZ" "VU" "VE" "VN" "VG" "VI" "WF" "EH" "YE" "ZM" "ZW" "AN" "WG" "NO"

The country code according to iso-3166-1-alpha-2

description
string
usages
Array of strings (AddressUsage)
Items Enum: "EVERYTHING" "CORRESPONDENCE" "INVOICES" "SHIPPING"
usage_context
required
string (UsageContext)
Enum: "ORGANIZATION" "PERSONAL" "PROFESSIONAL"

Responses

200

Address was successfully updated

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

put/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/addresses/{address-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/addresses/{address-id}

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "type": "NOT_QUALIFIED",
  • "full_address": "string",
  • "recipient_name": "string",
  • "care_of": "string",
  • "street_name": "string",
  • "street_number": "string",
  • "additional": "string",
  • "city": "string",
  • "zip": "string",
  • "country_code": "AF",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "full_address": "string",
  • "recipient_name": "string",
  • "care_of": "string",
  • "street_name": "string",
  • "street_number": "string",
  • "additional": "string",
  • "city": "string",
  • "zip": "string",
  • "country_code": "AF",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Get all emails of a professional identity of a contact.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

professional-identity-id
required
string

ID of the professional identity the emails belong to

Responses

200

Email information is successfully returned

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/emails

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/emails

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ],
  • "problems":
    []
}

Add a new email to a professional identity of a contact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

professional-identity-id
required
string

ID of the professional identity the emails belong to

Request Body schema: application/json
type
required
string (EmailType)
Enum: "NOT_QUALIFIED" "EMAIL_ALIAS" "MAILING_LIST" "PERSONAL_EMAIL" "WORK_EMAIL"
address
required
string <email>
description
string
usage_context
required
string (UsageContext)
Enum: "ORGANIZATION" "PERSONAL" "PROFESSIONAL"

Responses

201

Email has successfully been added

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

post/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/emails

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/emails

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "type": "NOT_QUALIFIED",
  • "address": "user@example.com",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "address": "user@example.com",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Load an email by parent contact, professional identity and identifier

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

professional-identity-id
required
string

ID of the professional identity the email belongs to

email-id
required
string

ID of the email

Responses

200

Email is successfully returned

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/emails/{email-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/emails/{email-id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "address": "user@example.com",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Full update of an email

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

professional-identity-id
required
string

ID of the professional identity the email belongs to

email-id
required
string

ID of the email

Request Body schema: application/json
type
required
string (EmailType)
Enum: "NOT_QUALIFIED" "EMAIL_ALIAS" "MAILING_LIST" "PERSONAL_EMAIL" "WORK_EMAIL"
address
required
string <email>
description
string
usage_context
required
string (UsageContext)
Enum: "ORGANIZATION" "PERSONAL" "PROFESSIONAL"

Responses

200

Email was successfully updated

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

put/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/emails/{email-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/emails/{email-id}

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "type": "NOT_QUALIFIED",
  • "address": "user@example.com",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "address": "user@example.com",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Get all phones of a professional identity of a contact.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

professional-identity-id
required
string

ID of the professional identity the phones belong to

Responses

200

Phone information is successfully returned

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/phones

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/phones

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ],
  • "problems":
    []
}

Add a new phone to a professional identity of a contact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

professional-identity-id
required
string

ID of the professional identity the phones belong to

Request Body schema: application/json
type
required
string (PhoneType)
Enum: "NOT_QUALIFIED" "DIRECT_EXTENSION" "DIRECT_FAX" "DIRECT_LINE" "FAX_LINE" "FIXED_LINE" "HOME_FAX" "HOME_PHONE" "HOTLINE" "MAIN" "MAIN_FAX" "MOBILE" "PAGER" "PERSONAL_MOBILE" "SAT" "VIRTUAL_LINE" "VOIP_LINE" "WORK_MOBILE"
number
required
string
description
string
usages
Array of strings (PhoneUsage)
Items Enum: "EVERYTHING" "CALL" "SMS" "WHATSAPP"
usage_context
required
string (UsageContext)
Enum: "ORGANIZATION" "PERSONAL" "PROFESSIONAL"

Responses

201

Phone has successfully been added

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

post/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/phones

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/phones

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "type": "NOT_QUALIFIED",
  • "number": "string",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "number": "string",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Load an phone by parent contact, professional identity and identifier

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

professional-identity-id
required
string

ID of the professional identity the phone belongs to

phone-id
required
string

ID of the phone

Responses

200

Phone is successfully returned

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/phones/{phone-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/phones/{phone-id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "number": "string",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Full update of an phone

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

professional-identity-id
required
string

ID of the professional identity the phone belongs to

phone-id
required
string

ID of the phone

Request Body schema: application/json
type
required
string (PhoneType)
Enum: "NOT_QUALIFIED" "DIRECT_EXTENSION" "DIRECT_FAX" "DIRECT_LINE" "FAX_LINE" "FIXED_LINE" "HOME_FAX" "HOME_PHONE" "HOTLINE" "MAIN" "MAIN_FAX" "MOBILE" "PAGER" "PERSONAL_MOBILE" "SAT" "VIRTUAL_LINE" "VOIP_LINE" "WORK_MOBILE"
number
required
string
description
string
usages
Array of strings (PhoneUsage)
Items Enum: "EVERYTHING" "CALL" "SMS" "WHATSAPP"
usage_context
required
string (UsageContext)
Enum: "ORGANIZATION" "PERSONAL" "PROFESSIONAL"

Responses

200

Phone was successfully updated

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

put/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/phones/{phone-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/phones/{phone-id}

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "type": "NOT_QUALIFIED",
  • "number": "string",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "number": "string",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Get all web addresses of a professional identity of a contact.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

professional-identity-id
required
string

ID of the professional identity the addresses belong to

Responses

200

Web address information is successfully returned

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/web-addresses

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/web-addresses

Response samples

Content type
application/json
Copy
Expand all Collapse all
{}

Add a new web address to a professional identity of a contact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

professional-identity-id
required
string

ID of the professional identity the addresses belong to

Request Body schema: application/json
type
required
string (WebAddressType)
Enum: "NOT_QUALIFIED" "BLOG" "FACEBOOK_PAGE_OR_PROFILE" "GOOGLE_PLUS_PROFILE" "HOMEPAGE_OR_WEBSITE" "LINKEDIN_PROFILE" "ONLINE_STORE" "ORGANIZATION_BLOG" "ORGANIZATION_PROFILE" "ORGANIZATION_WEBSITE" "OTHER" "PERSONAL_BLOG" "PERSONAL_PROFILE" "PERSONAL_WEBSITE" "PROFESSIONAL_BLOG" "PROFESSIONAL_PROFILE" "PROFESSIONAL_WEBSITE" "TWITTER_PROFILE" "TWITTER_STREAM" "XING_PROFILE" "YELP_IMAGE" "INSTAGRAM_PROFILE" "YOUTUBE"
url
required
string <uri>
description
string
usage_context
required
string (UsageContext)
Enum: "ORGANIZATION" "PERSONAL" "PROFESSIONAL"

Responses

201

Web address has successfully been added

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

post/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/web-addresses

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/web-addresses

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "type": "NOT_QUALIFIED",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Load a web address by parent contact, professional identity and identifier

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

professional-identity-id
required
string

ID of the professional identity the address belongs to

web-address-id
required
string

ID of the address

Responses

200

Web address is successfully returned

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/web-addresses/{web-address-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/web-addresses/{web-address-id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Full update of a web address

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

professional-identity-id
required
string

ID of the professional identity the address belongs to

web-address-id
required
string

ID of the address

Request Body schema: application/json
type
required
string (WebAddressType)
Enum: "NOT_QUALIFIED" "BLOG" "FACEBOOK_PAGE_OR_PROFILE" "GOOGLE_PLUS_PROFILE" "HOMEPAGE_OR_WEBSITE" "LINKEDIN_PROFILE" "ONLINE_STORE" "ORGANIZATION_BLOG" "ORGANIZATION_PROFILE" "ORGANIZATION_WEBSITE" "OTHER" "PERSONAL_BLOG" "PERSONAL_PROFILE" "PERSONAL_WEBSITE" "PROFESSIONAL_BLOG" "PROFESSIONAL_PROFILE" "PROFESSIONAL_WEBSITE" "TWITTER_PROFILE" "TWITTER_STREAM" "XING_PROFILE" "YELP_IMAGE" "INSTAGRAM_PROFILE" "YOUTUBE"
url
required
string <uri>
description
string
usage_context
required
string (UsageContext)
Enum: "ORGANIZATION" "PERSONAL" "PROFESSIONAL"

Responses

200

Address was successfully updated

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

put/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/web-addresses/{web-address-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/professional-identities/{professional-identity-id}/web-addresses/{web-address-id}

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "type": "NOT_QUALIFIED",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Individual Contacts: Roles

Load the CustomerRole of an IndividualContact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

200

Customer info is successfully returned

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}/roles/customer

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/roles/customer

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "customer_id": "string",
  • "is_active": true,
  • "is_suspended": true,
  • "customer_since": "2025-03-25",
  • "managed_by":
    {
    },
  • "external_card":
    {
    },
  • "tax_information":
    {
    },
  • "global_location_number": "string",
  • "alternative_payer":
    {
    },
  • "requires_formal_invoice": true,
  • "credit_limit":
    {
    },
  • "delivery_and_invoicing_configurations":
    [
    ],
  • "debtor_account_id": "string"
}

Create or update the CustomerRole of an IndividualContact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Request Body schema: application/json
customer_id
required
string
is_active
required
boolean
is_suspended
required
boolean
customer_since
required
string <date>
managed_by
object (ProfessionalIdentityRef)
external_card
object (CustomerCard)
tax_information
object (CustomerTaxInformation)

Tax information about a customer.

global_location_number
string [ 1 .. 256 ] characters

The Global Location Number (GLN) of the customer.

See this PDF for more information on GLNs.

The GLN of a customer will be printed on business documents related to that customer, for example on invoices.

alternative_payer
any (ContactRef)
requires_formal_invoice
boolean
credit_limit
object (Money)

A Money represents a monetary value (i.e., a currency and an amount), for example "120 EUR" or "2,500.75 USD".

delivery_and_invoicing_configurations
Array of objects (CustomerDeliveryAndInvoicingConfiguration)

The list of delivery and invoicing configurations for this customer.

Whenever a delivery is configured for/by the customer or an invoice is created for the customer, certain information is needed: * what is the delivery address * what is the invoice address * is there an alternative payer for the invoice

To determine this information, the enfore platform checks the CustomerDeliveryAndInvoicingConfiguration instances in this set to determine the configuration that is to be used (see below for more information).

When no valid CustomerDeliveryAndInvoicingConfiguration is found, the platform falls back to determine the delivery and invoice address from the basic ContactBase.addressSet and no alternative payer.

Note that the client UI may allow the user to manually override the information, depending on user rights and UI flow.

Constraints:

A customer may have multiple configurations but it is * forbidden to have multiple configurations with the same limitations. * forbidden to have multiple configurations without limitations.

Logic to determine the configuration to be used:

From the set of configuration, we first determine the configuration without limitations. There may be zero or one of those.

From the remaining configurations, we remove all that have at least one non- matching limitation.

If there are no configurations remaining, use the configuration without limitations when available.

Otherwise, the remaining configurations are ordered by the priority of their limitations and the first one in that ordering is used.

For the delivery and invoicing configurations, the limitation priority is (from highest to lowest): * brand

Note that the limitations structure will be extended with more fields later on (e.g., min/max invoice amount). Then, the limitation priority becomes meaningful for the logic of choosing the applicable configration.

For example, assume four limitations La, Lb Lc, and Ld (La > Lb > Lc > Ld) and the following configurations: * CFG "1": no limitations * CFG "2": La set * CFG "3": Lb set * CFG "4": La and Ld set * CFG "5": Lb, Lc, and Ld set

Assuming all limitations of all confgurations match the context, configuration "4" would be used because: * "1" would be the one without limitations, but as there are configs with matching limitations, it does not get used * The remaining configs are ordered by priority of their limitations. * That ordering is "4" > "2" > "5" > "3" because * "4" and "2" have La set and the others do not * "4" has ld set but "2" does not * "5" has Lc set but "4" does not

Responses

200

Customer info is successfully created or updated

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

put/org/{org-id}/individual/{contact-id}/roles/customer

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/roles/customer

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "customer_id": "string",
  • "is_active": true,
  • "is_suspended": true,
  • "customer_since": "2025-03-25",
  • "managed_by":
    {
    },
  • "external_card":
    {
    },
  • "tax_information":
    {
    },
  • "global_location_number": "string",
  • "alternative_payer":
    {
    },
  • "requires_formal_invoice": true,
  • "credit_limit":
    {
    },
  • "delivery_and_invoicing_configurations":
    [
    ]
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "customer_id": "string",
  • "is_active": true,
  • "is_suspended": true,
  • "customer_since": "2025-03-25",
  • "managed_by":
    {
    },
  • "external_card":
    {
    },
  • "tax_information":
    {
    },
  • "global_location_number": "string",
  • "alternative_payer":
    {
    },
  • "requires_formal_invoice": true,
  • "credit_limit":
    {
    },
  • "delivery_and_invoicing_configurations":
    [
    ],
  • "debtor_account_id": "string"
}

Load the AlternativePayerRole of an IndividualContact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

200

Alternative payer info is successfully returned

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}/roles/alternative-payer

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/roles/alternative-payer

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "alternative_payer_id": "string",
  • "is_active": true,
  • "since": "2025-03-25",
  • "debtor_account_id": "string"
}

Create or update the AlternativePayerRole of an IndividualContact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Request Body schema: application/json
alternative_payer_id
required
string
is_active
required
boolean
since
required
string <date>

Responses

200

Alternative payer info is successfully created or updated

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

put/org/{org-id}/individual/{contact-id}/roles/alternative-payer

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/roles/alternative-payer

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "alternative_payer_id": "string",
  • "is_active": true,
  • "since": "2025-03-25"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "alternative_payer_id": "string",
  • "is_active": true,
  • "since": "2025-03-25",
  • "debtor_account_id": "string"
}

Load the SupplierRole of an IndividualContact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

200

Supplier info is successfully returned

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}/roles/supplier

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/roles/supplier

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "supplier_id": "string",
  • "is_active": true,
  • "supplier_since": "2025-03-25",
  • "managed_by":
    {
    },
  • "my_customer_id": "string",
  • "tax_information":
    {
    },
  • "global_location_number": "string",
  • "creditor_account_id": "string"
}

Create or update the SupplierRole of an IndividualContact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Request Body schema: application/json
supplier_id
required
string [ 1 .. 256 ] characters
is_active
required
boolean
supplier_since
required
string <date>
managed_by
object (ProfessionalIdentityRef)
my_customer_id
string
tax_information
any (SupplierTaxInformation)
global_location_number
string [ 1 .. 256 ] characters

The Global Location Number (GLN) of the supplier.

See this PDF for more information on GLNs.

The GLN of a supplier will be printed on business documents related to that supplier, for example on purchase orders.

Responses

200

Supplier info is successfully created or updated

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

put/org/{org-id}/individual/{contact-id}/roles/supplier

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/roles/supplier

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "supplier_id": "string",
  • "is_active": true,
  • "supplier_since": "2025-03-25",
  • "managed_by":
    {
    },
  • "my_customer_id": "string",
  • "tax_information":
    {
    },
  • "global_location_number": "string"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "supplier_id": "string",
  • "is_active": true,
  • "supplier_since": "2025-03-25",
  • "managed_by":
    {
    },
  • "my_customer_id": "string",
  • "tax_information":
    {
    },
  • "global_location_number": "string",
  • "creditor_account_id": "string"
}

Individual Contacts: Tags

Get all tags of a contact.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

200

Tag information is successfully returned

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}/tags

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/tags

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ]
}

Add a new tag to a contact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Request Body schema: application/json
name
required
string [ 1 .. 256 ] characters

Tag name as shown in the UI.

Responses

201

Tag has successfully been added

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

post/org/{org-id}/individual/{contact-id}/tags

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/tags

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "name": "string"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "name": "string"
}

Remove a tag from a contact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

tag-id
required
string

ID of the tag

Responses

204

Tag successfully removed

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

422

Specified data is semantically incorrect.

delete/org/{org-id}/individual/{contact-id}/tags/{tag-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/tags/{tag-id}

Response samples

Content type
application/problem+json
Copy
Expand all Collapse all
{}

Individual Contacts: Images

Returns information about the images belonging to the contact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

200

Successfully returns information

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual/{contact-id}/images

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/images

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ]
}

Add a new image to the contact.

This method inserts a new image to the list of images belonging to the contact. The image is inserted at the start of the list such that it becomes the default image. Note that at the moment only JPEG and PNG images are supported. A request size restriction may also be imposed by the gateway. Typically, the gateway limits requests over 12 Megabytes.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Request Body schema: application/json
data
required
string

The base64 encoded image binary

Responses

200

Successfully added the image

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

post/org/{org-id}/individual/{contact-id}/images

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/images

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "data": "string"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string"
}

Delete an image from a contact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

image-id
required
string

ID of the image

Responses

204

Successfully removed the image

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

422

Specified data is semantically incorrect.

delete/org/{org-id}/individual/{contact-id}/images/{image-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual/{contact-id}/images/{image-id}

Response samples

Content type
application/problem+json
Copy
Expand all Collapse all
{}

Individual Contacts: External ID Mapping

Get the mapping of internal to external IDs for individual contacts.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

Responses

200

The mapping of internal to external IDs for individual contacts.

403

Credentials missing or not sufficient

get/org/{org-id}/individual-external-id-mapping

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual-external-id-mapping

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ]
}

Replace the complete mapping for external IDs for individual contacts.

The external ID mapping is a one to one mapping. Every external ID as well as every internal ID needs to be unique in the given list.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

Request Body schema: application/json
items
required
Array of objects (IDMapping)

The mapping of internal to external ID

Responses

200

The mapping of internal to external IDs for individual contacts.

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

422

Specified data is semantically incorrect.

put/org/{org-id}/individual-external-id-mapping

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual-external-id-mapping

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ]
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ]
}

Upsert a list of external ID mapping for individual contacts. It will extend the existing list.

The external ID mapping is a one to one mapping. Every external ID as well as every internal ID needs to be unique in the given list. All external and internal IDs that are in the list will have their corresponding mapping replaced with the one from the request.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

Request Body schema: application/json
items
required
Array of objects (IDMapping)

The mapping of internal to external ID

Responses

200

The mapping of internal to external IDs for individual contacts.

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

422

Specified data is semantically incorrect.

patch/org/{org-id}/individual-external-id-mapping

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual-external-id-mapping

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ]
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ]
}

Get a mapping of internal to external IDs for individual contacts by external ID.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

external-id
required
string

External ID for which an internal ID should be returned.

Responses

200

The mapping of internal to external ID for individual contacts.

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual-external-id-mapping/external/{external-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual-external-id-mapping/external/{external-id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "internal": "string",
  • "external": "string"
}

Remove a mapping of internal to external IDs for individual contacts by external ID.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

external-id
required
string

External ID for which an internal ID should be returned.

Responses

204

The mapping of internal to external ID for individual contact was sucessfully deleted.

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

delete/org/{org-id}/individual-external-id-mapping/external/{external-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual-external-id-mapping/external/{external-id}

Response samples

Content type
application/problem+json
Copy
Expand all Collapse all
{}

Get a mapping of internal to external IDs for individual contacts by internal ID.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

200

The mapping of internal to external ID for individual contacts.

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/individual-external-id-mapping/internal/{contact-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual-external-id-mapping/internal/{contact-id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "internal": "string",
  • "external": "string"
}

Remove a mapping of internal to external IDs for individual contacts by internal ID.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

204

The mapping of internal to external ID for individual contact was sucessfully deleted.

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

delete/org/{org-id}/individual-external-id-mapping/internal/{contact-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/individual-external-id-mapping/internal/{contact-id}

Response samples

Content type
application/problem+json
Copy
Expand all Collapse all
{}

Organization Contacts

Organization contacts are businesses and other organizations that the organization has dealings with.

Load all organization contacts from an organization

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

query Parameters
limit
integer <int64> [ 1 .. 5000 ]

Max number of objects to be returned per page. Note that both the items as well as the problems arrays of the query response count towards this number to allow a simple, consistent paging over all items (and problems) of a given timeframe. If not given, defaults to 200.

offset
integer <int64> >= 0

Offset of items and problems of where to start the next page. Similar to limit and offset in SQL, one would obtain the second page with limit=10&offset=10. Note that this paging with limit and offset is within a time interval that is specified with from and to. If not given, defaults to 0.

Responses

200

Contacts are successfully returned

403

Credentials missing or not sufficient

get/org/{org-id}/organization

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ],
  • "problems":
    []
}

Add a new OrganizationContact to the organization

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

Request Body schema: application/json
external_id
string [ 1 .. 256 ] characters
name
required
string
founded
string <date>
founders
Array of objects (ProfessionalIdentityRef)

The founders of the organization. The array contains the IDs for accessing the professional identities of the founders of the organization.

leaders
Array of objects (ProfessionalIdentityRef)

The leaders of the organization. The array contains the IDs for accessing the professional identities of the leaders of the organization.

external_organization_id
string

An ID of addressing the organization in an external system.

This field is currently only used by the Refund CUWOs when a refund for "another org" is performed to avoid creation of multiple org contact instances for the same organization.

The ID may be an enfore organization ID, but this is not guaranteed and thus the ID must not be used in that way.

Responses

201

Contact has successfully been added

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

post/org/{org-id}/organization

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "external_id": "string",
  • "name": "string",
  • "founded": "2025-03-25",
  • "founders":
    [
    ],
  • "leaders":
    [
    ],
  • "external_organization_id": "string"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "external_id": "string",
  • "name": "string",
  • "founded": "2025-03-25",
  • "representatives":
    [
    ],
  • "founders":
    [
    ],
  • "leaders":
    [
    ],
  • "external_organization_id": "string",
  • "deleted": true
}

Load an OrganizationContact by its identifier

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

200

Contact is successfully returned

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/organization/{contact-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "external_id": "string",
  • "name": "string",
  • "founded": "2025-03-25",
  • "representatives":
    [
    ],
  • "founders":
    [
    ],
  • "leaders":
    [
    ],
  • "external_organization_id": "string",
  • "deleted": true
}

Full update of an OrganizationContact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Request Body schema: application/json
external_id
string [ 1 .. 256 ] characters
name
required
string
founded
string <date>
founders
Array of objects (ProfessionalIdentityRef)

The founders of the organization. The array contains the IDs for accessing the professional identities of the founders of the organization.

leaders
Array of objects (ProfessionalIdentityRef)

The leaders of the organization. The array contains the IDs for accessing the professional identities of the leaders of the organization.

external_organization_id
string

An ID of addressing the organization in an external system.

This field is currently only used by the Refund CUWOs when a refund for "another org" is performed to avoid creation of multiple org contact instances for the same organization.

The ID may be an enfore organization ID, but this is not guaranteed and thus the ID must not be used in that way.

Responses

200

Contact was successfully updated

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

put/org/{org-id}/organization/{contact-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "external_id": "string",
  • "name": "string",
  • "founded": "2025-03-25",
  • "founders":
    [
    ],
  • "leaders":
    [
    ],
  • "external_organization_id": "string"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "external_id": "string",
  • "name": "string",
  • "founded": "2025-03-25",
  • "representatives":
    [
    ],
  • "founders":
    [
    ],
  • "leaders":
    [
    ],
  • "external_organization_id": "string",
  • "deleted": true
}

Delete an organization contact given the identifier

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

204

Contact

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

422

Specified data is semantically incorrect.

delete/org/{org-id}/organization/{contact-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}

Response samples

Content type
application/problem+json
Copy
Expand all Collapse all
{}

Load an OrganizationContact with Subresources by its identifier

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

200

Contact is successfully returned

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/organization/{contact-id}/full

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/full

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "organization_contact":
    {
    },
  • "addresses":
    [
    ],
  • "emails":
    [
    ],
  • "phones":
    [
    ],
  • "web_addresses":
    [
    ],
  • "departments":
    [
    ],
  • "locations":
    [
    ],
  • "memberships":
    [
    ],
  • "customer_role":
    {
    },
  • "supplier_role":
    {
    },
  • "alternative_payer_role":
    {
    }
}

Get all addresses of a contact.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

200

Address information is successfully returned

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/organization/{contact-id}/addresses

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/addresses

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ],
  • "problems":
    []
}

Add a new address to a contact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Request Body schema: application/json
type
required
string (AddressType)
Enum: "NOT_QUALIFIED" "FACTORY" "HEADQUARTERS" "HOME_OFFICE" "OFFICE" "OFFICE_CENTER" "PACKSTATION" "PO_BOX" "POST_OFFICE" "RESIDENTIAL_HOME" "SECOND_HOME" "SERVICE_POINT" "STORE" "SUBSIDIARY" "VACATION_HOME" "WAREHOUSE"
full_address
required
string

The full address as a string suitable for display to an end user.

recipient_name
string
care_of
string
street_name
string
street_number
string
additional
string
city
string
zip
string
country_code
string (CountryCode)
Enum: "AF" "AX" "AL" "DZ" "AS" "AD" "AO" "AI" "AQ" "AG" "AR" "AM" "AW" "AU" "AT" "AZ" "BS" "BH" "BD" "BB" "BY" "BE" "BZ" "BJ" "BM" "BT" "BO" "BQ" "BA" "BW" "BV" "BR" "IO" "BN" "BG" "BF" "BI" "KH" "CM" "CA" "CV" "KY" "CF" "TD" "CL" "CN" "CX" "CC" "CO" "KM" "CG" "CD" "CK" "CR" "CI" "HR" "CU" "CW" "CY" "CZ" "DK" "DJ" "DM" "DO" "EC" "EG" "SV" "GQ" "ER" "EE" "ET" "FK" "FO" "FJ" "FI" "FR" "GF" "PF" "TF" "GA" "GM" "GE" "DE" "GH" "GI" "GR" "GL" "GD" "GP" "GU" "GT" "GG" "GN" "GW" "GY" "HT" "HM" "VA" "HN" "HK" "HU" "IS" "IN" "ID" "IR" "IQ" "IE" "IM" "IL" "IT" "JM" "JP" "JE" "JO" "KZ" "KE" "KI" "KP" "KR" "KW" "KG" "LA" "LV" "LB" "LS" "LR" "LY" "LI" "LT" "LU" "MO" "MK" "MG" "MW" "MY" "MV" "ML" "MT" "MH" "MQ" "MR" "MU" "YT" "MX" "FM" "MD" "MC" "MN" "ME" "MS" "MA" "MZ" "MM" "NA" "NR" "NP" "NL" "NC" "NZ" "NI" "NE" "NG" "NU" "NF" "MP" "OM" "PK" "PW" "PS" "PA" "PG" "PY" "PE" "PH" "PN" "PL" "PT" "PR" "QA" "RE" "RO" "RU" "RW" "BL" "SH" "KN" "LC" "MF" "PM" "VC" "WS" "SM" "ST" "SA" "SN" "RS" "SC" "SL" "SG" "SX" "SK" "SI" "SB" "SO" "ZA" "GS" "ES" "LK" "SD" "SS" "SR" "SJ" "SZ" "SE" "CH" "SY" "TW" "TJ" "TZ" "TH" "TL" "TG" "TK" "TO" "TT" "TN" "TR" "TM" "TC" "TV" "UG" "UA" "AE" "GB" "US" "UM" "UY" "UZ" "VU" "VE" "VN" "VG" "VI" "WF" "EH" "YE" "ZM" "ZW" "AN" "WG" "NO"

The country code according to iso-3166-1-alpha-2

description
string
usages
Array of strings (AddressUsage)
Items Enum: "EVERYTHING" "CORRESPONDENCE" "INVOICES" "SHIPPING"
usage_context
required
string (UsageContext)
Enum: "ORGANIZATION" "PERSONAL" "PROFESSIONAL"

Responses

201

Address has successfully been added

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

post/org/{org-id}/organization/{contact-id}/addresses

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/addresses

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "type": "NOT_QUALIFIED",
  • "full_address": "string",
  • "recipient_name": "string",
  • "care_of": "string",
  • "street_name": "string",
  • "street_number": "string",
  • "additional": "string",
  • "city": "string",
  • "zip": "string",
  • "country_code": "AF",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "full_address": "string",
  • "recipient_name": "string",
  • "care_of": "string",
  • "street_name": "string",
  • "street_number": "string",
  • "additional": "string",
  • "city": "string",
  • "zip": "string",
  • "country_code": "AF",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Load an address by parent contact and identifier

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

address-id
required
string

ID of the address to load

Responses

200

Address is successfully returned

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/organization/{contact-id}/addresses/{address-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/addresses/{address-id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "full_address": "string",
  • "recipient_name": "string",
  • "care_of": "string",
  • "street_name": "string",
  • "street_number": "string",
  • "additional": "string",
  • "city": "string",
  • "zip": "string",
  • "country_code": "AF",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Full update of an address

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

address-id
required
string

ID of the address to load

Request Body schema: application/json
type
required
string (AddressType)
Enum: "NOT_QUALIFIED" "FACTORY" "HEADQUARTERS" "HOME_OFFICE" "OFFICE" "OFFICE_CENTER" "PACKSTATION" "PO_BOX" "POST_OFFICE" "RESIDENTIAL_HOME" "SECOND_HOME" "SERVICE_POINT" "STORE" "SUBSIDIARY" "VACATION_HOME" "WAREHOUSE"
full_address
required
string

The full address as a string suitable for display to an end user.

recipient_name
string
care_of
string
street_name
string
street_number
string
additional
string
city
string
zip
string
country_code
string (CountryCode)
Enum: "AF" "AX" "AL" "DZ" "AS" "AD" "AO" "AI" "AQ" "AG" "AR" "AM" "AW" "AU" "AT" "AZ" "BS" "BH" "BD" "BB" "BY" "BE" "BZ" "BJ" "BM" "BT" "BO" "BQ" "BA" "BW" "BV" "BR" "IO" "BN" "BG" "BF" "BI" "KH" "CM" "CA" "CV" "KY" "CF" "TD" "CL" "CN" "CX" "CC" "CO" "KM" "CG" "CD" "CK" "CR" "CI" "HR" "CU" "CW" "CY" "CZ" "DK" "DJ" "DM" "DO" "EC" "EG" "SV" "GQ" "ER" "EE" "ET" "FK" "FO" "FJ" "FI" "FR" "GF" "PF" "TF" "GA" "GM" "GE" "DE" "GH" "GI" "GR" "GL" "GD" "GP" "GU" "GT" "GG" "GN" "GW" "GY" "HT" "HM" "VA" "HN" "HK" "HU" "IS" "IN" "ID" "IR" "IQ" "IE" "IM" "IL" "IT" "JM" "JP" "JE" "JO" "KZ" "KE" "KI" "KP" "KR" "KW" "KG" "LA" "LV" "LB" "LS" "LR" "LY" "LI" "LT" "LU" "MO" "MK" "MG" "MW" "MY" "MV" "ML" "MT" "MH" "MQ" "MR" "MU" "YT" "MX" "FM" "MD" "MC" "MN" "ME" "MS" "MA" "MZ" "MM" "NA" "NR" "NP" "NL" "NC" "NZ" "NI" "NE" "NG" "NU" "NF" "MP" "OM" "PK" "PW" "PS" "PA" "PG" "PY" "PE" "PH" "PN" "PL" "PT" "PR" "QA" "RE" "RO" "RU" "RW" "BL" "SH" "KN" "LC" "MF" "PM" "VC" "WS" "SM" "ST" "SA" "SN" "RS" "SC" "SL" "SG" "SX" "SK" "SI" "SB" "SO" "ZA" "GS" "ES" "LK" "SD" "SS" "SR" "SJ" "SZ" "SE" "CH" "SY" "TW" "TJ" "TZ" "TH" "TL" "TG" "TK" "TO" "TT" "TN" "TR" "TM" "TC" "TV" "UG" "UA" "AE" "GB" "US" "UM" "UY" "UZ" "VU" "VE" "VN" "VG" "VI" "WF" "EH" "YE" "ZM" "ZW" "AN" "WG" "NO"

The country code according to iso-3166-1-alpha-2

description
string
usages
Array of strings (AddressUsage)
Items Enum: "EVERYTHING" "CORRESPONDENCE" "INVOICES" "SHIPPING"
usage_context
required
string (UsageContext)
Enum: "ORGANIZATION" "PERSONAL" "PROFESSIONAL"

Responses

200

Address was successfully updated

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

put/org/{org-id}/organization/{contact-id}/addresses/{address-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/addresses/{address-id}

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "type": "NOT_QUALIFIED",
  • "full_address": "string",
  • "recipient_name": "string",
  • "care_of": "string",
  • "street_name": "string",
  • "street_number": "string",
  • "additional": "string",
  • "city": "string",
  • "zip": "string",
  • "country_code": "AF",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "full_address": "string",
  • "recipient_name": "string",
  • "care_of": "string",
  • "street_name": "string",
  • "street_number": "string",
  • "additional": "string",
  • "city": "string",
  • "zip": "string",
  • "country_code": "AF",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Delete this address

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

address-id
required
string

ID of the address to load

Responses

204

Delete successful

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

422

Specified data is semantically incorrect.

delete/org/{org-id}/organization/{contact-id}/addresses/{address-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/addresses/{address-id}

Response samples

Content type
application/problem+json
Copy
Expand all Collapse all
{}

Get all emails of a contact.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

200

Email information is successfully returned

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/organization/{contact-id}/emails

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/emails

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ],
  • "problems":
    []
}

Add a new email to a contact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Request Body schema: application/json
type
required
string (EmailType)
Enum: "NOT_QUALIFIED" "EMAIL_ALIAS" "MAILING_LIST" "PERSONAL_EMAIL" "WORK_EMAIL"
address
required
string <email>
description
string
usage_context
required
string (UsageContext)
Enum: "ORGANIZATION" "PERSONAL" "PROFESSIONAL"

Responses

201

Email has successfully been added

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

post/org/{org-id}/organization/{contact-id}/emails

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/emails

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "type": "NOT_QUALIFIED",
  • "address": "user@example.com",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "address": "user@example.com",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Load an email by parent contact and identifier

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

email-id
required
string

ID of the email to load

Responses

200

Email is successfully returned

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/organization/{contact-id}/emails/{email-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/emails/{email-id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "address": "user@example.com",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Full update of an email

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

email-id
required
string

ID of the email to load

Request Body schema: application/json
type
required
string (EmailType)
Enum: "NOT_QUALIFIED" "EMAIL_ALIAS" "MAILING_LIST" "PERSONAL_EMAIL" "WORK_EMAIL"
address
required
string <email>
description
string
usage_context
required
string (UsageContext)
Enum: "ORGANIZATION" "PERSONAL" "PROFESSIONAL"

Responses

200

Email was successfully updated

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

put/org/{org-id}/organization/{contact-id}/emails/{email-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/emails/{email-id}

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "type": "NOT_QUALIFIED",
  • "address": "user@example.com",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "address": "user@example.com",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Delete this email

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

email-id
required
string

ID of the email to load

Responses

204

Delete successful

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

422

Specified data is semantically incorrect.

delete/org/{org-id}/organization/{contact-id}/emails/{email-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/emails/{email-id}

Response samples

Content type
application/problem+json
Copy
Expand all Collapse all
{}

Get all phones of a contact.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

200

Phone information is successfully returned

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/organization/{contact-id}/phones

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/phones

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ],
  • "problems":
    []
}

Add a new phone to a contact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Request Body schema: application/json
type
required
string (PhoneType)
Enum: "NOT_QUALIFIED" "DIRECT_EXTENSION" "DIRECT_FAX" "DIRECT_LINE" "FAX_LINE" "FIXED_LINE" "HOME_FAX" "HOME_PHONE" "HOTLINE" "MAIN" "MAIN_FAX" "MOBILE" "PAGER" "PERSONAL_MOBILE" "SAT" "VIRTUAL_LINE" "VOIP_LINE" "WORK_MOBILE"
number
required
string
description
string
usages
Array of strings (PhoneUsage)
Items Enum: "EVERYTHING" "CALL" "SMS" "WHATSAPP"
usage_context
required
string (UsageContext)
Enum: "ORGANIZATION" "PERSONAL" "PROFESSIONAL"

Responses

201

Phone has successfully been added

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

post/org/{org-id}/organization/{contact-id}/phones

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/phones

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "type": "NOT_QUALIFIED",
  • "number": "string",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "number": "string",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Load an phone by parent contact and identifier

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

phone-id
required
string

ID of the phone

Responses

200

Phone is successfully returned

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/organization/{contact-id}/phones/{phone-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/phones/{phone-id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "number": "string",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Full update of an phone

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

phone-id
required
string

ID of the phone

Request Body schema: application/json
type
required
string (PhoneType)
Enum: "NOT_QUALIFIED" "DIRECT_EXTENSION" "DIRECT_FAX" "DIRECT_LINE" "FAX_LINE" "FIXED_LINE" "HOME_FAX" "HOME_PHONE" "HOTLINE" "MAIN" "MAIN_FAX" "MOBILE" "PAGER" "PERSONAL_MOBILE" "SAT" "VIRTUAL_LINE" "VOIP_LINE" "WORK_MOBILE"
number
required
string
description
string
usages
Array of strings (PhoneUsage)
Items Enum: "EVERYTHING" "CALL" "SMS" "WHATSAPP"
usage_context
required
string (UsageContext)
Enum: "ORGANIZATION" "PERSONAL" "PROFESSIONAL"

Responses

200

Phone was successfully updated

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

put/org/{org-id}/organization/{contact-id}/phones/{phone-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/phones/{phone-id}

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "type": "NOT_QUALIFIED",
  • "number": "string",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "number": "string",
  • "description": "string",
  • "usages":
    [
    ],
  • "usage_context": "ORGANIZATION"
}

Delete this phone

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

phone-id
required
string

ID of the phone

Responses

204

Delete successful

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

422

Specified data is semantically incorrect.

delete/org/{org-id}/organization/{contact-id}/phones/{phone-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/phones/{phone-id}

Response samples

Content type
application/problem+json
Copy
Expand all Collapse all
{}

Get all web addresses of a contact.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

200

Web address information is successfully returned

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/organization/{contact-id}/web-addresses

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/web-addresses

Response samples

Content type
application/json
Copy
Expand all Collapse all
{}

Add a new web address to a contact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Request Body schema: application/json
type
required
string (WebAddressType)
Enum: "NOT_QUALIFIED" "BLOG" "FACEBOOK_PAGE_OR_PROFILE" "GOOGLE_PLUS_PROFILE" "HOMEPAGE_OR_WEBSITE" "LINKEDIN_PROFILE" "ONLINE_STORE" "ORGANIZATION_BLOG" "ORGANIZATION_PROFILE" "ORGANIZATION_WEBSITE" "OTHER" "PERSONAL_BLOG" "PERSONAL_PROFILE" "PERSONAL_WEBSITE" "PROFESSIONAL_BLOG" "PROFESSIONAL_PROFILE" "PROFESSIONAL_WEBSITE" "TWITTER_PROFILE" "TWITTER_STREAM" "XING_PROFILE" "YELP_IMAGE" "INSTAGRAM_PROFILE" "YOUTUBE"
url
required
string <uri>
description
string
usage_context
required
string (UsageContext)
Enum: "ORGANIZATION" "PERSONAL" "PROFESSIONAL"

Responses

201

Web address has successfully been added

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

post/org/{org-id}/organization/{contact-id}/web-addresses

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/web-addresses

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "type": "NOT_QUALIFIED",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Load a web address by parent contact and identifier

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

web-address-id
required
string

ID of the web address

Responses

200

Web address is successfully returned

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/organization/{contact-id}/web-addresses/{web-address-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/web-addresses/{web-address-id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Full update of a web address

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

web-address-id
required
string

ID of the web address

Request Body schema: application/json
type
required
string (WebAddressType)
Enum: "NOT_QUALIFIED" "BLOG" "FACEBOOK_PAGE_OR_PROFILE" "GOOGLE_PLUS_PROFILE" "HOMEPAGE_OR_WEBSITE" "LINKEDIN_PROFILE" "ONLINE_STORE" "ORGANIZATION_BLOG" "ORGANIZATION_PROFILE" "ORGANIZATION_WEBSITE" "OTHER" "PERSONAL_BLOG" "PERSONAL_PROFILE" "PERSONAL_WEBSITE" "PROFESSIONAL_BLOG" "PROFESSIONAL_PROFILE" "PROFESSIONAL_WEBSITE" "TWITTER_PROFILE" "TWITTER_STREAM" "XING_PROFILE" "YELP_IMAGE" "INSTAGRAM_PROFILE" "YOUTUBE"
url
required
string <uri>
description
string
usage_context
required
string (UsageContext)
Enum: "ORGANIZATION" "PERSONAL" "PROFESSIONAL"

Responses

200

Address was successfully updated

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

put/org/{org-id}/organization/{contact-id}/web-addresses/{web-address-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/web-addresses/{web-address-id}

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "type": "NOT_QUALIFIED",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "type": "NOT_QUALIFIED",
  • "description": "string",
  • "usage_context": "ORGANIZATION"
}

Delete this address

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

web-address-id
required
string

ID of the web address

Responses

204

Delete successful

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

422

Specified data is semantically incorrect.

delete/org/{org-id}/organization/{contact-id}/web-addresses/{web-address-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/web-addresses/{web-address-id}

Response samples

Content type
application/problem+json
Copy
Expand all Collapse all
{}

Organization Contacts: Tags

Get all tags of a contact.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

200

Tag information is successfully returned

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/organization/{contact-id}/tags

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/tags

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ]
}

Add a new tag to a contact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Request Body schema: application/json
name
required
string [ 1 .. 256 ] characters

Tag name as shown in the UI.

Responses

201

Tag has successfully been added

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

post/org/{org-id}/organization/{contact-id}/tags

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/tags

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "name": "string"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "name": "string"
}

Remove a tag from a contact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

tag-id
required
string

ID of the tag

Responses

204

Tag successfully removed

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

422

Specified data is semantically incorrect.

delete/org/{org-id}/organization/{contact-id}/tags/{tag-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/tags/{tag-id}

Response samples

Content type
application/problem+json
Copy
Expand all Collapse all
{}

Organization Contacts: Roles

Load the CustomerRole of an OrganizationContact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

200

Customer info is successfully returned

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/organization/{contact-id}/roles/customer

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/roles/customer

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "customer_id": "string",
  • "is_active": true,
  • "is_suspended": true,
  • "customer_since": "2025-03-25",
  • "managed_by":
    {
    },
  • "external_card":
    {
    },
  • "tax_information":
    {
    },
  • "global_location_number": "string",
  • "alternative_payer":
    {
    },
  • "requires_formal_invoice": true,
  • "credit_limit":
    {
    },
  • "delivery_and_invoicing_configurations":
    [
    ],
  • "debtor_account_id": "string"
}

Create or update the CustomerRole of an OrganizationContact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Request Body schema: application/json
customer_id
required
string
is_active
required
boolean
is_suspended
required
boolean
customer_since
required
string <date>
managed_by
object (ProfessionalIdentityRef)
external_card
object (CustomerCard)
tax_information
object (CustomerTaxInformation)

Tax information about a customer.

global_location_number
string [ 1 .. 256 ] characters

The Global Location Number (GLN) of the customer.

See this PDF for more information on GLNs.

The GLN of a customer will be printed on business documents related to that customer, for example on invoices.

alternative_payer
any (ContactRef)
requires_formal_invoice
boolean
credit_limit
object (Money)

A Money represents a monetary value (i.e., a currency and an amount), for example "120 EUR" or "2,500.75 USD".

delivery_and_invoicing_configurations
Array of objects (CustomerDeliveryAndInvoicingConfiguration)

The list of delivery and invoicing configurations for this customer.

Whenever a delivery is configured for/by the customer or an invoice is created for the customer, certain information is needed: * what is the delivery address * what is the invoice address * is there an alternative payer for the invoice

To determine this information, the enfore platform checks the CustomerDeliveryAndInvoicingConfiguration instances in this set to determine the configuration that is to be used (see below for more information).

When no valid CustomerDeliveryAndInvoicingConfiguration is found, the platform falls back to determine the delivery and invoice address from the basic ContactBase.addressSet and no alternative payer.

Note that the client UI may allow the user to manually override the information, depending on user rights and UI flow.

Constraints:

A customer may have multiple configurations but it is * forbidden to have multiple configurations with the same limitations. * forbidden to have multiple configurations without limitations.

Logic to determine the configuration to be used:

From the set of configuration, we first determine the configuration without limitations. There may be zero or one of those.

From the remaining configurations, we remove all that have at least one non- matching limitation.

If there are no configurations remaining, use the configuration without limitations when available.

Otherwise, the remaining configurations are ordered by the priority of their limitations and the first one in that ordering is used.

For the delivery and invoicing configurations, the limitation priority is (from highest to lowest): * brand

Note that the limitations structure will be extended with more fields later on (e.g., min/max invoice amount). Then, the limitation priority becomes meaningful for the logic of choosing the applicable configration.

For example, assume four limitations La, Lb Lc, and Ld (La > Lb > Lc > Ld) and the following configurations: * CFG "1": no limitations * CFG "2": La set * CFG "3": Lb set * CFG "4": La and Ld set * CFG "5": Lb, Lc, and Ld set

Assuming all limitations of all confgurations match the context, configuration "4" would be used because: * "1" would be the one without limitations, but as there are configs with matching limitations, it does not get used * The remaining configs are ordered by priority of their limitations. * That ordering is "4" > "2" > "5" > "3" because * "4" and "2" have La set and the others do not * "4" has ld set but "2" does not * "5" has Lc set but "4" does not

Responses

200

Customer info is successfully created or updated

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

put/org/{org-id}/organization/{contact-id}/roles/customer

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/roles/customer

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "customer_id": "string",
  • "is_active": true,
  • "is_suspended": true,
  • "customer_since": "2025-03-25",
  • "managed_by":
    {
    },
  • "external_card":
    {
    },
  • "tax_information":
    {
    },
  • "global_location_number": "string",
  • "alternative_payer":
    {
    },
  • "requires_formal_invoice": true,
  • "credit_limit":
    {
    },
  • "delivery_and_invoicing_configurations":
    [
    ]
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "customer_id": "string",
  • "is_active": true,
  • "is_suspended": true,
  • "customer_since": "2025-03-25",
  • "managed_by":
    {
    },
  • "external_card":
    {
    },
  • "tax_information":
    {
    },
  • "global_location_number": "string",
  • "alternative_payer":
    {
    },
  • "requires_formal_invoice": true,
  • "credit_limit":
    {
    },
  • "delivery_and_invoicing_configurations":
    [
    ],
  • "debtor_account_id": "string"
}

Load the AlternativePayerRole of an OrganizationContact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

200

Alternative payer info is successfully returned

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/organization/{contact-id}/roles/alternative-payer

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/roles/alternative-payer

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "alternative_payer_id": "string",
  • "is_active": true,
  • "since": "2025-03-25",
  • "debtor_account_id": "string"
}

Create or update the AlternativePayerRole of an OrganizationContact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Request Body schema: application/json
alternative_payer_id
required
string
is_active
required
boolean
since
required
string <date>

Responses

200

Alternative payer info is successfully created or updated

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

put/org/{org-id}/organization/{contact-id}/roles/alternative-payer

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/roles/alternative-payer

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "alternative_payer_id": "string",
  • "is_active": true,
  • "since": "2025-03-25"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "alternative_payer_id": "string",
  • "is_active": true,
  • "since": "2025-03-25",
  • "debtor_account_id": "string"
}

Load the SupplierRole of an OrganizationContact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

200

Supplier info is successfully returned

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/organization/{contact-id}/roles/supplier

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/roles/supplier

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "supplier_id": "string",
  • "is_active": true,
  • "supplier_since": "2025-03-25",
  • "managed_by":
    {
    },
  • "my_customer_id": "string",
  • "tax_information":
    {
    },
  • "global_location_number": "string",
  • "creditor_account_id": "string"
}

Create or update the SupplierRole of an OrganizationContact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Request Body schema: application/json
supplier_id
required
string [ 1 .. 256 ] characters
is_active
required
boolean
supplier_since
required
string <date>
managed_by
object (ProfessionalIdentityRef)
my_customer_id
string
tax_information
any (SupplierTaxInformation)
global_location_number
string [ 1 .. 256 ] characters

The Global Location Number (GLN) of the supplier.

See this PDF for more information on GLNs.

The GLN of a supplier will be printed on business documents related to that supplier, for example on purchase orders.

Responses

200

Supplier info is successfully created or updated

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

put/org/{org-id}/organization/{contact-id}/roles/supplier

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/roles/supplier

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "supplier_id": "string",
  • "is_active": true,
  • "supplier_since": "2025-03-25",
  • "managed_by":
    {
    },
  • "my_customer_id": "string",
  • "tax_information":
    {
    },
  • "global_location_number": "string"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "supplier_id": "string",
  • "is_active": true,
  • "supplier_since": "2025-03-25",
  • "managed_by":
    {
    },
  • "my_customer_id": "string",
  • "tax_information":
    {
    },
  • "global_location_number": "string",
  • "creditor_account_id": "string"
}

Organization Contacts: Images

Returns information about the images belonging to the contact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

200

Successfully returns information

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/organization/{contact-id}/images

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/images

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ]
}

Add a new image to the contact.

This method inserts a new image to the list of images belonging to the contact. The image is inserted at the start of the list such that it becomes the default image. Note that at the moment only JPEG and PNG images are supported. A request size restriction may also be imposed by the gateway. Typically, the gateway limits requests over 12 Megabytes.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Request Body schema: application/json
data
required
string

The base64 encoded image binary

Responses

200

Successfully added the image

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

post/org/{org-id}/organization/{contact-id}/images

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/images

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "data": "string"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string"
}

Delete an image from a contact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

image-id
required
string

ID of the image

Responses

204

Successfully removed the image

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

422

Specified data is semantically incorrect.

delete/org/{org-id}/organization/{contact-id}/images/{image-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization/{contact-id}/images/{image-id}

Response samples

Content type
application/problem+json
Copy
Expand all Collapse all
{}

Organization Contacts: External ID Mapping

Get the mapping of internal to external IDs for organization contacts.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

Responses

200

The mapping of internal to external IDs for organization contacts.

403

Credentials missing or not sufficient

get/org/{org-id}/organization-external-id-mapping

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization-external-id-mapping

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ]
}

Replace the complete mapping for external IDs for organization contacts.

The external ID mapping is a one to one mapping. Every external ID as well as every internal ID needs to be unique in the given list.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

Request Body schema: application/json
items
required
Array of objects (IDMapping)

The mapping of internal to external ID

Responses

200

The mapping of internal to external IDs for organization contacts.

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

422

Specified data is semantically incorrect.

put/org/{org-id}/organization-external-id-mapping

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization-external-id-mapping

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ]
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ]
}

Upsert a list of external ID mapping for organization contacts. It will extend the existing list.

The external ID mapping is a one to one mapping. Every external ID as well as every internal ID needs to be unique in the given list. All external and internal IDs that are in the list will have their corresponding mapping replaced with the one from the request.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

Request Body schema: application/json
items
required
Array of objects (IDMapping)

The mapping of internal to external ID

Responses

200

The mapping of internal to external IDs for organization contacts.

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

422

Specified data is semantically incorrect.

patch/org/{org-id}/organization-external-id-mapping

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization-external-id-mapping

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ]
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ]
}

Get a mapping of internal to external IDs for organization contacts by external ID.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

external-id
required
string

External ID for which an internal ID should be returned.

Responses

200

The mapping of internal to external ID for organization contacts.

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/organization-external-id-mapping/external/{external-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization-external-id-mapping/external/{external-id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "internal": "string",
  • "external": "string"
}

Remove a mapping of internal to external IDs for organization contacts by external ID.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

external-id
required
string

External ID for which an internal ID should be returned.

Responses

204

The mapping of internal to external ID for organization contact was sucessfully deleted.

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

delete/org/{org-id}/organization-external-id-mapping/external/{external-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization-external-id-mapping/external/{external-id}

Response samples

Content type
application/problem+json
Copy
Expand all Collapse all
{}

Get a mapping of internal to external IDs for organization contacts by internal ID.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

200

The mapping of internal to external ID for organization contacts.

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/organization-external-id-mapping/internal/{contact-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization-external-id-mapping/internal/{contact-id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "internal": "string",
  • "external": "string"
}

Remove a mapping of internal to external IDs for organization contacts by internal ID.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

contact-id
required
string

ID of the contact

Responses

204

The mapping of internal to external ID for organization contact was sucessfully deleted.

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

delete/org/{org-id}/organization-external-id-mapping/internal/{contact-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/organization-external-id-mapping/internal/{contact-id}

Response samples

Content type
application/problem+json
Copy
Expand all Collapse all
{}

Placeholder Customers

Load all PlaceholderCustomers from an organization

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

query Parameters
limit
integer <int64> [ 1 .. 5000 ]

Max number of objects to be returned per page. Note that both the items as well as the problems arrays of the query response count towards this number to allow a simple, consistent paging over all items (and problems) of a given timeframe. If not given, defaults to 200.

offset
integer <int64> >= 0

Offset of items and problems of where to start the next page. Similar to limit and offset in SQL, one would obtain the second page with limit=10&offset=10. Note that this paging with limit and offset is within a time interval that is specified with from and to. If not given, defaults to 0.

Responses

200

PlaceholderCustomers are successfully returned

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

get/org/{org-id}/placeholder-customer

Production

https://external.apis.enfore.com/contacts/org/{org-id}/placeholder-customer

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ],
  • "problems":
    []
}

Add a new PlaceholderCustomer to the organization

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

Request Body schema: application/json
external_id
string [ 1 .. 256 ] characters
customer_id
required
string
name
required
string
is_active
required
boolean
customer_since
required
string <date>
requires_formal_invoice
required
boolean
track_revenue
required
boolean

Responses

201

PlaceholderCustomer has successfully been added

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

422

Specified data is semantically incorrect.

post/org/{org-id}/placeholder-customer

Production

https://external.apis.enfore.com/contacts/org/{org-id}/placeholder-customer

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "external_id": "string",
  • "customer_id": "string",
  • "name": "string",
  • "is_active": true,
  • "customer_since": "2025-03-25",
  • "requires_formal_invoice": true,
  • "track_revenue": true
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "external_id": "string",
  • "customer_id": "string",
  • "name": "string",
  • "is_active": true,
  • "customer_since": "2025-03-25",
  • "requires_formal_invoice": true,
  • "track_revenue": true,
  • "deleted": true
}

Load a PlaceholderCustomer by its identifier

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

placeholder-customer-id
required
string

ID of the placeholder customer

Responses

200

PlaceholderCustomer is successfully returned

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

422

Specified data is semantically incorrect.

get/org/{org-id}/placeholder-customer/{placeholder-customer-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/placeholder-customer/{placeholder-customer-id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "external_id": "string",
  • "customer_id": "string",
  • "name": "string",
  • "is_active": true,
  • "customer_since": "2025-03-25",
  • "requires_formal_invoice": true,
  • "track_revenue": true,
  • "deleted": true
}

Full update of a PlaceholderCustomer

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

placeholder-customer-id
required
string

ID of the placeholder customer

Request Body schema: application/json
external_id
string [ 1 .. 256 ] characters
customer_id
required
string
name
required
string
is_active
required
boolean
customer_since
required
string <date>
requires_formal_invoice
required
boolean
track_revenue
required
boolean

Responses

200

PlaceholderCustomer was successfully updated

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

422

Specified data is semantically incorrect.

put/org/{org-id}/placeholder-customer/{placeholder-customer-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/placeholder-customer/{placeholder-customer-id}

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "external_id": "string",
  • "customer_id": "string",
  • "name": "string",
  • "is_active": true,
  • "customer_since": "2025-03-25",
  • "requires_formal_invoice": true,
  • "track_revenue": true
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "external_id": "string",
  • "customer_id": "string",
  • "name": "string",
  • "is_active": true,
  • "customer_since": "2025-03-25",
  • "requires_formal_invoice": true,
  • "track_revenue": true,
  • "deleted": true
}

Delete a PlaceholderCustomer given the identifier

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

placeholder-customer-id
required
string

ID of the placeholder customer

Responses

204

PlaceholderCustomer

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

422

Specified data is semantically incorrect.

delete/org/{org-id}/placeholder-customer/{placeholder-customer-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/placeholder-customer/{placeholder-customer-id}

Response samples

Content type
application/problem+json
Copy
Expand all Collapse all
{}

Placeholder Customers: Images

Returns information about the images belonging to the contact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

placeholder-customer-id
required
string

ID of the placeholder customer

Responses

200

Successfully returns information

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/placeholder-customer/{placeholder-customer-id}/images

Production

https://external.apis.enfore.com/contacts/org/{org-id}/placeholder-customer/{placeholder-customer-id}/images

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "items":
    [
    ]
}

Add a new image to the contact.

This method inserts a new image to the list of images belonging to the contact. The image is inserted at the start of the list such that it becomes the default image. Note that at the moment only JPEG and PNG images are supported. A request size restriction may also be imposed by the gateway. Typically, the gateway limits requests over 12 Megabytes.

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

placeholder-customer-id
required
string

ID of the placeholder customer

Request Body schema: application/json
data
required
string

The base64 encoded image binary

Responses

200

Successfully added the image

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

post/org/{org-id}/placeholder-customer/{placeholder-customer-id}/images

Production

https://external.apis.enfore.com/contacts/org/{org-id}/placeholder-customer/{placeholder-customer-id}/images

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "data": "string"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string"
}

Delete an image from a contact

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

placeholder-customer-id
required
string

ID of the placeholder customer

image-id
required
string

ID of the image

Responses

204

Successfully removed the image

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

422

Specified data is semantically incorrect.

delete/org/{org-id}/placeholder-customer/{placeholder-customer-id}/images/{image-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/placeholder-customer/{placeholder-customer-id}/images/{image-id}

Response samples

Content type
application/problem+json
Copy
Expand all Collapse all
{}

Customer Lists

Get all customer lists' meta data

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

Responses

200

Customer lists meta data

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/customer-lists

Production

https://external.apis.enfore.com/contacts/org/{org-id}/customer-lists

Response samples

Content type
application/json
Copy
Expand all Collapse all
{}

Create a new customer list

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

Request Body schema: application/json
name
required
string non-empty

Name of the customer list.

Responses

201

Created customer list meta data

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

post/org/{org-id}/customer-lists

Production

https://external.apis.enfore.com/contacts/org/{org-id}/customer-lists

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "name": "string"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "name": "string"
}

Get a customer list's meta data by the list's ID

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

list-id
required
string

ID of the customer list

Responses

200

Meta data of single customer list

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/customer-lists/{list-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/customer-lists/{list-id}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "name": "string"
}

Update a customer list's meta data

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

list-id
required
string

ID of the customer list

Request Body schema: application/json
name
required
string non-empty

Name of the customer list.

Responses

200

Updated customer list meta data

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

put/org/{org-id}/customer-lists/{list-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/customer-lists/{list-id}

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "name": "string"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": "string",
  • "name": "string"
}

Delete a customer list by its ID

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

list-id
required
string

ID of the customer list

Responses

204

Customer list has been deleted

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

delete/org/{org-id}/customer-lists/{list-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/customer-lists/{list-id}

Response samples

Content type
application/problem+json
Copy
Expand all Collapse all
{}

Get a customer list's items

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

list-id
required
string

ID of the customer list

query Parameters
limit
integer <int64> [ 1 .. 5000 ]

Max number of objects to be returned per page. Note that both the items as well as the problems arrays of the query response count towards this number to allow a simple, consistent paging over all items (and problems) of a given timeframe. If not given, defaults to 200.

offset
integer <int64> >= 0

Offset of items and problems of where to start the next page. Similar to limit and offset in SQL, one would obtain the second page with limit=10&offset=10. Note that this paging with limit and offset is within a time interval that is specified with from and to. If not given, defaults to 0.

Responses

200

Returns a customer list's items

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

get/org/{org-id}/customer-lists/{list-id}/items

Production

https://external.apis.enfore.com/contacts/org/{org-id}/customer-lists/{list-id}/items

Response samples

Content type
application/json
Copy
Expand all Collapse all
{}

Add an item to the customer list

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

list-id
required
string

ID of the customer list

Request Body schema: application/json
items
required
Array of any (ContactRef)

The customer references contained in the sequence

problems
Array of objects (Problem)

Any problems that occurred when handling the query

Responses

200

Add item to customer

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

post/org/{org-id}/customer-lists/{list-id}/items

Production

https://external.apis.enfore.com/contacts/org/{org-id}/customer-lists/{list-id}/items

Request samples

Content type
application/json
Copy
Expand all Collapse all
{}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{}

Remove an item from the customer list

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

list-id
required
string

ID of the customer list

contact-id
required
string

ID of the contact

Responses

204

Item has been successfully removed

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

delete/org/{org-id}/customer-lists/{list-id}/items/{contact-id}

Production

https://external.apis.enfore.com/contacts/org/{org-id}/customer-lists/{list-id}/items/{contact-id}

Response samples

Content type
application/problem+json
Copy
Expand all Collapse all
{}

External Contact Management Configuration

Load the external contact management configuration

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

Responses

200

Configuration is successfully returned

403

Credentials missing or not sufficient

404

Resource(s) not found or invalid identifier

422

Specified data is semantically incorrect.

get/org/{org-id}/external-contact-management-configuration

Production

https://external.apis.enfore.com/contacts/org/{org-id}/external-contact-management-configuration

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "use_external_contact_management": false,
  • "custom_workflow_config":
    {
    },
  • "api_access_configuration":
    {
    }
}

Set or replace the external contact management configuration

path Parameters
org-id
required
string

ID of the organization whose data is being accessed.

Request Body schema: application/json
use_external_contact_management
required
boolean
Default: false

When TRUE, the enfore CRM functionality is replaced by the "contacts" CUWOs and complementary API configured here.

When FALSE, the enfore CRM is used normally and the the CUWOs and API configured here have not effect.

custom_workflow_config
object (ContactCUWOConfig)

Holds information about the custom workflows defined for contact management.

api_access_configuration
object (ExternalAPIAccessConfiguration)

A data structure holding the configuration data needed to access an external API.

Responses

200

Configuration was successfully updated

400

Invalid parameters were sent by the client

403

Credentials missing or not sufficient

422

Specified data is semantically incorrect.

put/org/{org-id}/external-contact-management-configuration

Production

https://external.apis.enfore.com/contacts/org/{org-id}/external-contact-management-configuration

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "use_external_contact_management": false,
  • "custom_workflow_config":
    {
    },
  • "api_access_configuration":
    {
    }
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "use_external_contact_management": false,
  • "custom_workflow_config":
    {
    },
  • "api_access_configuration":
    {
    }
}