Retrieves a list of legal entities associated with this account. The account is determined by the API authentication you use.
Parameters
No parameters.
Returns
Returns an array of LegalEntity
objects up to a limit dictated by PageSize
. Each entry in the array is a separate LegalEntity
object. If no legal entities meet the criteria, the resulting array will be empty. This request should never return an error.
Example request
curl 'https://api.impact.com/Advertisers/<AccountSID>/LegalEntities' \
-X GET \
-u '<AccountSid>:<AuthToken>' \
-H 'Accept: application/json'
Example response
{
"@page": "1",
...,
"LegalEntity": {
"Id": "325001",
"Name": "Acme Corporation",
"RegisteredForIndirectTax": "false",
"IndirectTaxNumber": "",
"OrganizationType": "CORP",
"EinSsnForeignTaxId": "XXXXX1234",
"BillingAddress": {
"AddressLine1": "742 Evergreen Terrace",
"AddressLine2": "",
"City": "Springfield",
"State": "MA",
"PostalCode": "01001",
"Country": "US"
},
"Uri": "/Advertisers/<AccountSID>/LegalEntities/"
}
}