Openapi
Return the legal entities of an organization, the default first.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidincludeArchived?string"true""false"Returns the legal entities.
application/jsondata*array<>pagination*curl -X GET 'https://app.localhost/api/v1/organizations/123/legal-entities?includeArchived=true'{ "data": [ { "address": { "city": "string", "country": "string", "line1": "string", "postalCode": "string" }, "archivedAt": "2019-08-24T14:15:22Z", "bic": "string", "cocNumber": "string", "code": "string", "createdAt": "2019-08-24T14:15:22Z", "defaultCurrency": "string", "fiscal": { "fiscalYearStartMonth": 1, "taxPeriod": "monthly" }, "iban": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "isDefault": true, "name": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "updatedAt": "2019-08-24T14:15:22Z", "vatNumber": "string" } ], "pagination": { "hasMore": true, "limit": 1, "offset": 0, "total": 0, "totalIsEstimate": true }}