Skip to main content
POST
/
company
/
products
Add/modify a product
curl --request POST \
  --url https://api.altera.co/company/products \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "productId": 7638,
  "itemType": "PRODUCT",
  "productName": "Accurate made letter",
  "unit": "m2",
  "price": "98.00",
  "vatPerc": "23%",
  "pkwiu": "3.2.7",
  "gtu": "04",
  "category": 15465,
  "favourite": false,
  "enabled": false
}'
{
  "result": "OK",
  "data": {
    "productId": 7638
  }
}

Authorizations

Authorization
string
header
required

OpenApi Key created within Altera.app for a certain company

Body

application/json
productId
integer
itemType
enum<string>
Available options:
PRODUCT,
SERVICE
productName
string
unit
string
price
string
vatPerc
string
pkwiu
string
gtu
string
category
integer
favourite
boolean
enabled
boolean

Response

200 - application/json

OK

result
string
default:OK
data
object