Heads up, our devs are blazing ahead—docs are catching up, so some features might not be fully documented yet.

Organization

Organization

List organizations

get
/tenants/{tenantUid}/organizations

List all organizations.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Query parameters
organizationExternalIdstringOptional

External reference to an organization.

organizationNamestringOptional

Reference to the name of an organization.

pageNumberintegerOptional

Reference to a specific page in a result set.

pageSizeintegerOptional

The number of items per page in a result set.

sortBystringOptional

Defines which field the resource list is sorted by.

sortDirectionstring · enumOptional
ENUM Description
ASC Sort in ascending order
DESC Sort in descending order
Possible values:
Responses
200

Example response

application/json
get
/tenants/{tenantUid}/organizations
200

Example response

Create a new organization

post
/tenants/{tenantUid}/organizations

Creates a new organization.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Body
and
Responses
200

Example response

application/json
post
/tenants/{tenantUid}/organizations
200

Example response

Get organization details

get
/tenants/{tenantUid}/organizations/{organizationUid}

Get details for an organization.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
organizationUidstringRequired

Reference to an organization.

Pattern: ^[A-Za-z0-9-_]+
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Responses
200

Example response

application/json
get
/tenants/{tenantUid}/organizations/{organizationUid}
200

Example response

Update organization details

put
/tenants/{tenantUid}/organizations/{organizationUid}

Update details for an organization. Partial updates are allowed.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
organizationUidstringRequired

Reference to an organization.

Pattern: ^[A-Za-z0-9-_]+
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Body
addressstringOptional
citystringOptional
countryCodestringOptional
emailstringOptional
externalIdstringOptional
isActivebooleanOptional
namestringRequired
phonestringOptional
postalCodestringOptional
vatNumberstringOptional

VAT identification number for value added tax reporting purposes.

websiteUrlstringOptional
Responses
put
/tenants/{tenantUid}/organizations/{organizationUid}
201

Example response

Delete an organization

delete
/tenants/{tenantUid}/organizations/{organizationUid}

Deletes a organizations.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
organizationUidstringRequired

Reference to an organization.

Pattern: ^[A-Za-z0-9-_]+
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Responses
delete
/tenants/{tenantUid}/organizations/{organizationUid}
204

No Content

No content

Last updated

Was this helpful?