Retrieve an organization

GET/accounting/{connection_id}/organization/{id}

Parameters

fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection
idstring required
ID of the Organization

Returns

idstring
created_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
legal_namestring
currencystring
Currency primarily used by the organization, in ISO 4217 format (e.g. U.S. dollars is USD).
addressobject
tax_numberstring
Organization's tax number. For example, in the U.S., this is an Employer Identification Number (EIN).
timezonestring
websitestring
parent_idstring
fiscal_year_end_monthnumber
Month of the year when the organization’s fiscal year ends (1 - 12, where January is 1)
organization_codestring
Identifier for tracking and categorizing organizations for reporting or analysis purposes that is defined by the end-customer
const options = {
  method: 'GET',
  url: 'https://api.unified.to/accounting/5de520f96e439b002043d8dc/organization/5de520f96e439b002043d8d8',
  headers: {
    authorization: 'bearer .....'
  },
  params: {
    fields: '',
    raw: '',
  }
};

const results = await axios.request(options);
Are we missing anything? Let us know
Was this page helpful?