Help

Get one company by id.

Get one company by id.

GET
/companies/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

Access token from POST /directory/connect/token. Scope olifyapi.

In: header

Path Parameters

id*string
Formatuuid

Header Parameters

Olify-Tenant-Id*string

Tenant GUID the caller is allowed to access.

Formatuuid

Response Body

Company

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Olify-Tenant-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "roles": [    "Manufacturer"  ],  "identificationNumber": "string",  "emailAddress": "string",  "phoneNumber": "string",  "address": {    "streetAddress1": "string",    "streetAddress2": "string",    "streetAddress3": "string",    "city": "string",    "cityDistrict": "string",    "postalCode": "string",    "coordinates": {      "latitude": "string",      "longitude": "string"    },    "countryCode": "string"  },  "extensionValues": {},  "name": "string",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"}