POST
/
company
/
contractors
curl --request POST \
  --url https://api.altera.co/company/contractors \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "contractorId": 4527,
  "contractorRegion": "POLAND",
  "country": "PL",
  "contractorType": "COMPANY",
  "contractorName": "Apple Computer, Inc.",
  "street": "Rejsi Manor",
  "houseNumber": "465",
  "flatNumber": "42",
  "city": "Menahga",
  "postCode": "58-261",
  "taxIdentificationNumber": "8958666780",
  "email": "spend@different.com",
  "areaNumber": "",
  "phoneNumber": "337507196"
}'
{
  "result": "OK",
  "data": {
    "contractorId": 4527
  }
}

Authorizations

Authorization
string
header
required

OpenApi Key created within Altera.app for a certain company

Body

application/json

Response

200 - application/json

OK

The response is of type object.