v1

latestOpenAPI 3.1.0Terms of services for Altera.app2026-07-13146285.1 KB
Configuration

Add/modify contractor

This endpoint provides the means for adding/updating contractor data for later use in the system

post/company/contractors

Request body

contractorIdinteger

Identifier used if we wish to update an already existing contractor

contractorRegion'POLAND' | 'EU' | 'OUTSIDE_OF_EU' required
countrystring required

Two letter country code according to ISO 3166-1 alfa-2

contractorType'COMPANY' | 'PRIVATE_PERSON' required
contractorNamestring required
streetstring
houseNumberstring
flatNumberstring
citystring
postCodestring
taxIdentificationNumberstring
emailstring
areaNumberstring
phoneNumberstring

Example request

{
  "contractorRegion": "POLAND",
  "contractorType": "PRIVATE_PERSON"
}

Response

OK

resultstring

Example response

{
  "result": "OK",
  "data": {
    "contractorId": 15232
  }
}