Skip to content

Retrieve a Company Based on ID

Request

Retrieve a Company based on ID

Security
api_key
Path
idstringrequired

Unique identifier of the Company to be retrieved

curl -i -X GET \
  'https://doc.connect.easypost.eu/_mock/public-api/openapi/companies/{id}' \
  -H 'x-api-key: YOUR_API_KEY_HERE'

Responses

Bodyapplication/json
erpIdstringrequired

ERP identifier of the company

identificationNumberstring

Identification number of the company

namestringrequired

Name of the company

headAddressobject(PhysicalAddressDto)required

Head office address of the company

emailAddressstring, (email)

Email address of the company

phoneNumberstring

Phone number of the company

isActivebooleanrequired

Indicates if the company is active

idstringrequired

Unique identifier of the company

createdAtstringrequired

Creation date of the company

lastModifiedAtstringrequired

Last modification date of the company

lastModifiedBystringrequired

Last modified by information

identifiersArray of objects(CompanyIdentifierDto)required

List of identifiers associated with the company

isTechnologyPartnerboolean

Indicates if the company is a technology partner

Response
{ "erpId": "string", "identificationNumber": "string", "name": "string", "headAddress": { "street": "string", "streetNr": "string", "postalCode": "string", "box": "string", "city": "string", "countryCode": "string", "addressAdditionalLine": "string" }, "emailAddress": "user@example.com", "phoneNumber": "string", "isActive": true, "id": "string", "createdAt": "string", "lastModifiedAt": "string", "lastModifiedBy": "string", "identifiers": [ { … } ], "isTechnologyPartner": true }