Retrieves an organization with a specified ID.
Organization retrieved.
name required | string <= 60 characters Name of the organization. | ||||||||||||||||||||||
country required | string^[A-Z]{2}$ Country where the organization is located, in ISO Alpha-2 code format. | ||||||||||||||||||||||
id | string <= 50 characters Unique organization identifier. An organization is an entity that represents a company. For more information, see Obtain an organization ID. | ||||||||||||||||||||||
address | string <= 60 characters Street address of the organization. | ||||||||||||||||||||||
address2 | string <= 60 characters Second line of the street address. | ||||||||||||||||||||||
city | string <= 45 characters City where the organization is located. | ||||||||||||||||||||||
region | string <= 45 characters Region or state where the organization is located. | ||||||||||||||||||||||
postalCode | string <= 10 characters Postal code of the organization. | ||||||||||||||||||||||
Array of objects (ContactPhoneNumbers) List of phone numbers associated with the contact. | |||||||||||||||||||||||
Array of objects (ContactEmails) List of email addresses associated with the contact. | |||||||||||||||||||||||
taxDescriptor | string <= 255 characters Tax label of the organization. This information is displayed on the invoice. | ||||||||||||||||||||||
invoiceTimeZone | string <= 50 characters Specifies the time zone to display on an invoice. UTC is used by default. | ||||||||||||||||||||||
object (OrganizationQuestionnaire) Organization questionnaire. | |||||||||||||||||||||||
object (OrganizationSettings) Organization settings. | |||||||||||||||||||||||
| |||||||||||||||||||||||
createdTime | string <date-time> (CreatedTime) Date and time which is set automatically when the resource is created. | ||||||||||||||||||||||
updatedTime | string <date-time> (UpdatedTime) Date and time which updates automatically when the resource is updated. | ||||||||||||||||||||||
Array of objects (SelfLink) Related links. | |||||||||||||||||||||||
Unauthorized access. Invalid credentials used.
Access forbidden.
Resource not found.
$organization = $client->organizations()->load('organizationId');
{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "name": "string",
- "address": "string",
- "address2": "string",
- "city": "string",
- "region": "string",
- "country": "string",
- "postalCode": "string",
- "phoneNumbers": [
- {
- "label": "main",
- "value": "512-710-1640",
- "primary": true
}
], - "emails": [
- {
- "label": "main",
- "value": "rebilly@example.com",
- "primary": true
}
], - "taxDescriptor": "string",
- "invoiceTimeZone": "America/New_York",
- "questionnaire": {
- "role": "string",
- "monthlyTransactions": "string",
- "products": [
- "string"
], - "integrationType": "string",
- "launchTiming": "string"
}, - "settings": {
- "defaultTaxCalculator": {
- "type": "taxjar",
- "rate": 0
}, - "billing": {
- "pendingOrderTtl": "P7D"
}, - "taxLocations": [
- {
- "address": "string",
- "city": "string",
- "region": "string",
- "country": "string",
- "postalCode": "string"
}
]
}, - "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
]
}