List of products
Get a list of products
query Parameters
per_pagestringSet the results per page limit. Default is 25.
Example: 100has_stockstringShow only products that their stock is tracked.
Example: 5stock_lessstringShow only products that their stock is less thank this number.
Example: 10stock_greaterstringShow only products that their stock is less thank this number.
Example: 10tag_idstringShow only products that are using a certain tag.
Example: 100
Headers
Acceptstringapplication/json
Responses
OK
dataobjectlinksobjectmetaobject
Create a new product
Create a new product
Headers
Acceptstringapplication/json
Request Body
namestring · minLength: 1 · requireddescriptionstring · minLength: 1 · requirednameSecstring · requireddescriptionSecstring · requiredunitPricenumber · requireddefaultVatIdnumber · requiredstocknumber · requiredwithStockboolean · requiredisVatIncludedboolean · requiredactiveboolean · required
isServiceboolean
Responses
Created
dataobject
Update a product
Update a product
path Parameters
idstring · pattern:^[0-9]+· requiredThe product's ID
Example: 124
Headers
Acceptstringapplication/json
Request Body
namestring · minLength: 1 · requiredThe product/service name
descriptionstring · minLength: 1 · requiredThe product/service description
unitPricenumber · requiredThe product/service price
defaultVatIdnumber · requiredThe default vat ID (It will be autoselected while creating invoice)
isVatIncludedboolean · requiredDetermine if the value includes vat or it's the net one.
nameSecstringThe product/service in Secondary language
descriptionSecstringThe product/service description is secondary language
stocknumberThe stock number
withStockbooleanIf the product has stock or not
isServicebooleanIf the product has stock or not
activebooleanIf it's active
Responses
OK
dataobject