Retrieves a subsidiary
Changed onReturns one subsidiary from your organization. Returns 404 if it does not exist or you cannot access it. Use GET /subsidiaries to find a subsidiary ID. Legal entity subsidiaries also include legal_name, address and tax_id, as shown in Settings → Subsidiary Details.
When the hierarchy feature and hierarchy API support are both enabled for your organization, the response includes parent_subsidiary_id. This is the direct parent's ID, or null if there is no parent. The parent ID is included even if you cannot access the parent. If either feature is disabled, parent_subsidiary_id is omitted.
Request
- Base URLhttps://api.rillet.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
UUID of the subsidiary to retrieve (must belong to the organization).
Response
OK
Example response
{
"currency": "USD",
"timezone": "America/New_York",
"trade_name": "Rillet Inc.",
"legal_name": "Rillet Incorporated",
"address": {
"line1": "123 Main St",
"line2": "Apt 4B",
"city": "Nashville",
"state": "TN",
"zip_code": "37201",
"country": "US"
},
"tax_id": "12-3456789"
}Changes
- warning
added the new
ELIMINATIONenum value to theresponse property for the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- warning