Add a new product.
Create a new product and returns it.
Request
- Base URL: https://pts-api.procountor.com/api
- URL: https://pts-api.procountor.com/api/products
- Auth: HTTP bearer
Request body
Unique identifier of the product. Generated by Procountor.
Product type: to which kind of invoices the product can be assigned.
Product name.
Custom code assigned by the owner of the product.
Product unit.
Product discount percentage.
Product price.
Product VAT percentage.
Product status.
Default ledger account for the product.
Product VAT status. Allowed VAT statuses are available under GET /vats/default
Currency for the product in ISO 4217 format.
Product group ID.
Get start date for the product. Used by TRAVEL type only.
Get end date for the product. Used by TRAVEL type only.
Get bookkeeping account code for the product. Used by TRAVEL type only.
Product version timestamp. Automatically generated by Procountor and updated every time the product is updated.
Example request
{
"type": "TRAVEL",
"currency": "EUR",
"version": "2019-09-25T13:15:58"
}Response
The product was successfully created.
Unique identifier of the product. Generated by Procountor.
Product type: to which kind of invoices the product can be assigned.
Product name.
Custom code assigned by the owner of the product.
Product unit.
Product discount percentage.
Product price.
Product VAT percentage.
Product status.
Default ledger account for the product.
Product VAT status. Allowed VAT statuses are available under GET /vats/default
Currency for the product in ISO 4217 format.
Product group ID.
Get start date for the product. Used by TRAVEL type only.
Get end date for the product. Used by TRAVEL type only.
Get bookkeeping account code for the product. Used by TRAVEL type only.
Product version timestamp. Automatically generated by Procountor and updated every time the product is updated.
Example response
{
"type": "TRAVEL",
"currency": "EUR",
"version": "2019-09-25T13:15:58"
}Changes
No recorded changes to this operation across all 1 revision of this API.