cURL
curl --request GET \ --url https://api.light.inc/rest/ext/v1/entities
{ "total": 123, "records": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "code": "<string>", "parentCompanyEntityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "localCurrency": "USD", "displayName": "<string>", "vatNumber": "<string>", "name": "<string>", "address": { "country": "UNDEFINED", "city": "<string>", "state": "<string>", "zipcode": "<string>", "street": "<string>", "street2": "<string>" }, "status": "ACTIVE", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } ] }
Gets company entities, supporting filtering, sorting, searching, and pagination
"amount:desc,createdAt:asc"
"state:in:IN_DRAFT|SCHEDULED|PAID,amount:gte:500"
default response
The response is of type object.
object