Skip to main content

Upsert organization units

POST 

/v1/organization

Import or update organization units with identifiers and addresses. Supports both incremental updates and full data replacement.

Upsert Key: code (ON CONFLICT target on the organization_unit table)

full_load Behavior:

  • false (default): Incremental upsert — updates existing records (matched by code), inserts new ones
  • true: Full replacement — deletes ALL existing organization units for the customer, then inserts new data

Required Fields: code, name, organization_type

Request

Responses

Import result