API Reference
/- Retrieve a Department Based on ID
Create a Department
Retrieve All Managed Departments
Update a Department Based on ID
Retrieve a Department Bas...
Retrieve a Department based on ID
Security
api_key
- Mock serverhttps://doc.acc.connect.easypost.eu/_mock/public-api/openapi/departments/{id}
- https://api.acc.connect.easypost.euhttps://api.acc.connect.easypost.eu/departments/{id}
curl -i -X GET \
'https://doc.acc.connect.easypost.eu/_mock/public-api/openapi/departments/{id}' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-managed-company-id: string'Response
{ "companyId": "string", "erpId": "string", "id": "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", "hasSeparateInvoicing": true, "isActive": true, "createdAt": "string", "lastModifiedAt": "string", "lastModifiedBy": "string" }