curl --request GET \
--url https://{host}/organization/structure/api/legal-units \
--header 'Authorization: <authorization>'{
"items": [
{
"id": 2,
"name": "<string>",
"countryId": "<string>",
"code": "<string>",
"legalIdentificationNumber": "<string>",
"activityCode": "<string>",
"country": {
"id": 2,
"name": "<string>",
"code": "<string>",
"currencyCode": "<string>",
"currency": {
"code": "<string>",
"englishName": "<string>",
"symbol": "<string>"
},
"defaultTimeZone": "Europe/Paris"
},
"headquartersId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"isArchived": true
}
],
"prev": "<string>",
"next": "<string>"
}Retrieve a paginated list of legal-units.
curl --request GET \
--url https://{host}/organization/structure/api/legal-units \
--header 'Authorization: <authorization>'{
"items": [
{
"id": 2,
"name": "<string>",
"countryId": "<string>",
"code": "<string>",
"legalIdentificationNumber": "<string>",
"activityCode": "<string>",
"country": {
"id": 2,
"name": "<string>",
"code": "<string>",
"currencyCode": "<string>",
"currency": {
"code": "<string>",
"englishName": "<string>",
"symbol": "<string>"
},
"defaultTimeZone": "Europe/Paris"
},
"headquartersId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"isArchived": true
}
],
"prev": "<string>",
"next": "<string>"
}API key. Value must be formatted like so: lucca application={api_key}.
Comma-separated list of legal-unit IDs.
x >= 1Search legal-units based on their name.
Filter on the "isArchived" status.
By default, is equal to "false", thus archived legal-units are not returned.
To return both archived and non-archived legal units, use ?isArchived=true,false.
true, false, true,false Page index (int - starts at 1) or cursor (string)
Page size.
0 <= x <= 100Include prev and next pages cursors, as well as the number of all items across all pages (count).
prev, next, count Was this page helpful?