Create a Company based on the provided details.
Security
api_key
- Mock serverhttps://doc.connect.easypost.eu/_mock/public-api/openapi/companies
- https://api.connect.easypost.euhttps://api.connect.easypost.eu/companies
curl -i -X POST \
https://doc.connect.easypost.eu/_mock/public-api/openapi/companies \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"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,
"identifiers": [
{
"type": "ENTERPRISE_NUMBER",
"value": "string"
}
]
}'List of identifiers associated with the company
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 }