---
title: "Add/modify a product"
method: POST
path: "/company/products"
tags: ["Configuration"]
---

# Add/modify a product

`POST /company/products`

This endpoint provides the means for adding/updating sale invoice products for later use in the system

## Request body

- InvoiceProduct
  - `productId` integer
  - `itemType` 'PRODUCT' | 'SERVICE'
  - `productName` string
  - `unit` string
  - `price` string
  - `vatPerc` string
  - `pkwiu` string
  - `gtu` string
  - `category` integer
  - `favourite` boolean
  - `enabled` boolean

## Response `200`

OK

- object
  - `result` string
  - `data` object
    - `productId` integer

## Changes

- **2024-08-26** `64c683372c45` — 1 info
  - endpoint added
- **2024-08-26** `a2d864f3a8db` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/altera-co/apis/openapi/changes/company/products/post.md)

---

[API](https://skmtc.dev/altera-co/apis/openapi.md) · [All operations](https://skmtc.dev/altera-co/apis/openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/altera-co/openapi/revisions/39a4dd6ca527/schema)
