Documentation Index

Fetch the complete documentation index at: https://www.bloxs.io/llms.txt

Use this file to discover all available pages before exploring further.

Update an organisation

Prev Next
Put
/api/v1/relations/organisations

Update an existing organisation. This will fully overwrite the organisation with the data from the request.

Update an Organisation

Replaces the stored data of an existing organisation relation with the data supplied in the request.

This operation fully overwrites the organisation. Any field not included in the request will be cleared, not left unchanged. To update only specific fields, first retrieve the organisation's current data and include all existing values in the request together with the changes.


Request Fields

Field

Type

Required

Description

reference

string, max 100, nullable

Required (at least one of reference or externalIdentifier must be given)

The internal identifier (Reference/Code) of the organisation to update.

externalIdentifier

string, max 100, nullable

Required (at least one of reference or externalIdentifier must be given)

The external API identifier of the organisation to update. The value supplied here also becomes the stored external identifier going forward.

name

string, max 256

Required

The organisation's registered or trading name.

relationTypeName

string, max 256

Required

The name of the relation type assigned to this organisation. Valid values can be retrieved from the Get all relation types endpoint.

website

string, nullable

Optional

The organisation's website URL.

correspondenceMethod

integer (enum)

Required

How correspondence should be delivered to this organisation. Allowed values: 1 = Email, 2 = Post. When set to Email, primaryEmailAddresses is mandatory. When set to Post, address is mandatory.

languageISOCode

string, max 2, nullable

Optional

ISO 639-1 two-letter language code (for example "nl" or "en") determining the language used in correspondence.

address.street

string, max 200

Conditionally required

Street name of the organisation's main address. Required when correspondenceMethod is set to Post (2).

address.houseNumber

string, max 40, nullable

Optional

House number of the organisation's main address, including any suffix (for example "12A").

address.postalCode

string, max 20

Conditionally required

Postal code of the organisation's main address. Required when correspondenceMethod is set to Post (2).

address.city

string, max 200

Conditionally required

City of the organisation's main address. Required when correspondenceMethod is set to Post (2).

address.countryISOCode

string, max 2

Conditionally required

ISO 3166-1 alpha-2 country code of the organisation's main address, for example "NL". Required when correspondenceMethod is set to Post (2).

invoiceAddress.street

string, max 200

Required (if invoiceAddress is set)

Street name of the address to use for invoicing this organisation, if different from the main address.

invoiceAddress.houseNumber

string, max 40, nullable

Optional

House number of the invoice address, including any suffix.

invoiceAddress.postalCode

string, max 20

Required (if invoiceAddress is set)

Postal code of the invoice address.

invoiceAddress.city

string, max 200

Required (if invoiceAddress is set)

City of the invoice address.

invoiceAddress.countryISOCode

string, max 2

Required (if invoiceAddress is set)

ISO 3166-1 alpha-2 country code of the invoice address.

postalAddress.street

string, max 200

Required (if postalAddress is set)

Street name of the postal correspondence address, if different from the main address.

postalAddress.houseNumber

string, max 40, nullable

Optional

House number of the postal address, including any suffix.

postalAddress.postalCode

string, max 20

Required (if postalAddress is set)

Postal code of the postal address.

postalAddress.city

string, max 200

Required (if postalAddress is set)

City of the postal address.

postalAddress.countryISOCode

string, max 2

Required (if postalAddress is set)

ISO 3166-1 alpha-2 country code of the postal address.

invoiceAttn

string, nullable

Optional

The name of the person or department invoices should be addressed to. Invoice templates must be configured to use this field for it to take effect.

reminderAttn

string, nullable

Optional

The name of the person or department payment reminders should be addressed to. Reminder templates must be configured to use this field for it to take effect.

indexingAttn

string, nullable

Optional

The name of the person or department indexation letters should be addressed to. Indexation letter templates must be configured to use this field for it to take effect.

phoneNumber

string, nullable

Optional

The organisation's landline phone number.

mobileNumber

string, nullable

Optional

The organisation's mobile phone number.

primaryEmailAddresses

array of string, nullable

Conditionally required

The organisation's primary email address(es), used for general correspondence. Required when correspondenceMethod is set to Email (1).

invoicesEmailAddresses

array of string, nullable

Optional

Email address(es) that should receive invoices for this organisation.

paymentRemindersEmailAddresses

array of string, nullable

Optional

Email address(es) that should receive payment reminder correspondence.

indexationsEmailAddresses

array of string, nullable

Optional

Email address(es) that should receive rent or fee indexation notices.

serviceTicketsEmailAddresses

array of string, nullable

Optional

Email address(es) that should receive service or maintenance ticket correspondence.

purchaseOrdersEmailAddresses

array of string, nullable

Optional

Email address(es) that should receive purchase order correspondence.

portalsEmailAddresses

array of string, nullable

Optional

Email address(es) used for portal-related notifications.

otherEmailAddresses

array of string, nullable

Optional

Any additional email address(es) not covered by the categories above.

cocNumber

string, max 256, nullable

Optional

Chamber of Commerce (KVK-style) registration number for the organisation.

cocDescription

string, nullable

Optional

Free-text description associated with the Chamber of Commerce registration.

vatNumber

string, max 256, nullable

Optional

The organisation's VAT identification number, used for invoicing and determining VAT/reverse-charge treatment where applicable.

remarks

string, nullable

Optional

Free-text internal remarks about the organisation.


Response Fields

Field

Type

Required

Description

reference

string, max 100

Optional

The internal identifier (Reference/Code) of the updated organisation.

externalIdentifier

string, max 100

Optional

The external API identifier stored for this organisation, if any.

displayName

string

Optional

The formatted display name of the organisation.

name

string, max 256

Required

The organisation's registered or trading name.

relationTypeName

string, max 256

Required

The relation type assigned to this organisation.

website

string, nullable

Optional

The organisation's website URL.

correspondenceMethod

integer (enum)

Required

How correspondence is delivered to this organisation. Allowed values: 1 = Email, 2 = Post.

languageISOCode

string, max 2, nullable

Optional

ISO 639-1 two-letter language code determining the correspondence language.

address.street

string, max 200

Conditionally required

Street name of the organisation's main address.

address.houseNumber

string, max 40, nullable

Optional

House number of the organisation's main address, including any suffix.

address.postalCode

string, max 20

Conditionally required

Postal code of the organisation's main address.

address.city

string, max 200

Conditionally required

City of the organisation's main address.

address.countryISOCode

string, max 2

Conditionally required

ISO 3166-1 alpha-2 country code of the organisation's main address.

invoiceAddress.street

string, max 200

Required (if invoiceAddress is set)

Street name of the invoice address.

invoiceAddress.houseNumber

string, max 40, nullable

Optional

House number of the invoice address.

invoiceAddress.postalCode

string, max 20

Required (if invoiceAddress is set)

Postal code of the invoice address.

invoiceAddress.city

string, max 200

Required (if invoiceAddress is set)

City of the invoice address.

invoiceAddress.countryISOCode

string, max 2

Required (if invoiceAddress is set)

ISO 3166-1 alpha-2 country code of the invoice address.

postalAddress.street

string, max 200

Required (if postalAddress is set)

Street name of the postal address.

postalAddress.houseNumber

string, max 40, nullable

Optional

House number of the postal address.

postalAddress.postalCode

string, max 20

Required (if postalAddress is set)

Postal code of the postal address.

postalAddress.city

string, max 200

Required (if postalAddress is set)

City of the postal address.

postalAddress.countryISOCode

string, max 2

Required (if postalAddress is set)

ISO 3166-1 alpha-2 country code of the postal address.

invoiceAttn

string, nullable

Optional

The name of the person or department invoices should be addressed to.

reminderAttn

string, nullable

Optional

The name of the person or department payment reminders should be addressed to.

indexingAttn

string, nullable

Optional

The name of the person or department indexation letters should be addressed to.

phoneNumber

string, nullable

Optional

The organisation's landline phone number.

mobileNumber

string, nullable

Optional

The organisation's mobile phone number.

primaryEmailAddresses

array of string, nullable

Conditionally required

The organisation's primary email address(es).

invoicesEmailAddresses

array of string, nullable

Optional

Email address(es) that receive invoices for this organisation.

paymentRemindersEmailAddresses

array of string, nullable

Optional

Email address(es) that receive payment reminder correspondence.

indexationsEmailAddresses

array of string, nullable

Optional

Email address(es) that receive rent or fee indexation notices.

serviceTicketsEmailAddresses

array of string, nullable

Optional

Email address(es) that receive service or maintenance ticket correspondence.

purchaseOrdersEmailAddresses

array of string, nullable

Optional

Email address(es) that receive purchase order correspondence.

portalsEmailAddresses

array of string, nullable

Optional

Email address(es) used for portal-related notifications.

otherEmailAddresses

array of string, nullable

Optional

Any additional email address(es) not covered by the categories above.

cocNumber

string, max 256, nullable

Optional

Chamber of Commerce (KVK-style) registration number, where applicable.

cocDescription

string, nullable

Optional

Free-text description associated with the Chamber of Commerce registration.

vatNumber

string, max 256, nullable

Optional

The organisation's VAT identification number.

remarks

string, nullable

Optional

Free-text internal remarks about the organisation.

archiveDate

string (date), nullable

Optional

The date from which the organisation is archived, formatted as an ISO 8601 date (YYYY-MM-DD). Null if the organisation is not archived.

Security
Body parameters
Expand All
object
languageISOCode
string | null
Min length0
Max length2
address
object (Address)
street
string Required
Min length0
Max length200
houseNumber
string | null
Min length0
Max length40
postalCode
string Required
Min length0
Max length20
city
string Required
Min length0
Max length200
countryISOCode
string Required
Min length0
Max length2
invoiceAddress
object (Address)
street
string Required
Min length0
Max length200
houseNumber
string | null
Min length0
Max length40
postalCode
string Required
Min length0
Max length20
city
string Required
Min length0
Max length200
countryISOCode
string Required
Min length0
Max length2
postalAddress
object (Address)
street
string Required
Min length0
Max length200
houseNumber
string | null
Min length0
Max length40
postalCode
string Required
Min length0
Max length20
city
string Required
Min length0
Max length200
countryISOCode
string Required
Min length0
Max length2
primaryEmailAddresses
Array of string | null
string
invoicesEmailAddresses
Array of string | null
string
paymentRemindersEmailAddresses
Array of string | null
string
indexationsEmailAddresses
Array of string | null
string
serviceTicketsEmailAddresses
Array of string | null
string
purchaseOrdersEmailAddresses
Array of string | null
string
portalsEmailAddresses
Array of string | null
string
otherEmailAddresses
Array of string | null
string
externalIdentifier
string | null
Min length0
Max length100
phoneNumber
string | null
mobileNumber
string | null
cocNumber
string | null
Min length0
Max length256
cocDescription
string | null
vatNumber
string | null
Min length0
Max length256
correspondenceMethod
integer (int32) Required

Email = 1 Post = 2

remarks
string | null
relationTypeName
string Required
Min length0
Max length256
name
string Required
Min length0
Max length256
website
string | null
invoiceAttn
string | null
reminderAttn
string | null
indexingAttn
string | null
reference
string | null
Min length0
Max length100
Responses
200

The organisation was updated

Expand All
object
languageISOCode
string | null
Min length0
Max length2
address
object (Address)
street
string
Min length0
Max length200
houseNumber
string | null
Min length0
Max length40
postalCode
string
Min length0
Max length20
city
string
Min length0
Max length200
countryISOCode
string
Min length0
Max length2
invoiceAddress
object (Address)
street
string
Min length0
Max length200
houseNumber
string | null
Min length0
Max length40
postalCode
string
Min length0
Max length20
city
string
Min length0
Max length200
countryISOCode
string
Min length0
Max length2
postalAddress
object (Address)
street
string
Min length0
Max length200
houseNumber
string | null
Min length0
Max length40
postalCode
string
Min length0
Max length20
city
string
Min length0
Max length200
countryISOCode
string
Min length0
Max length2
primaryEmailAddresses
Array of string | null
string
invoicesEmailAddresses
Array of string | null
string
paymentRemindersEmailAddresses
Array of string | null
string
indexationsEmailAddresses
Array of string | null
string
serviceTicketsEmailAddresses
Array of string | null
string
purchaseOrdersEmailAddresses
Array of string | null
string
portalsEmailAddresses
Array of string | null
string
otherEmailAddresses
Array of string | null
string
externalIdentifier
string | null
Min length0
Max length100
phoneNumber
string | null
mobileNumber
string | null
cocNumber
string | null
Min length0
Max length256
cocDescription
string | null
vatNumber
string | null
Min length0
Max length256
correspondenceMethod
integer (int32)

Email = 1 Post = 2

remarks
string | null
relationTypeName
string
Min length0
Max length256
name
string
Min length0
Max length256
website
string | null
invoiceAttn
string | null
reminderAttn
string | null
indexingAttn
string | null
reference
string | null
Min length0
Max length100
displayName
string | null
archiveDate
string (date) | null
400

The organisation data has validation issues

Expand All
object
type
string | null
title
string | null
traceId
string | null
status
integer (int32)
errors
object | null
property*
Array of string | null additionalProperties
string