Products
Create a product
Create a new product
post/apps/{appId}/products
Path parameters
appIdinteger required
The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have several Sinao applications. To retrieve the identifiers of its applications, you must call the endpoint /apps.
Query parameters
namestring required
amountinteger
Price without taxes in cents
amount_accuratelyinteger
Price without taxes in cents / 1000
vat_percentinteger
Taxe rate (e.g., 20%)
lifetimeinteger
Product life time in seconds
descriptionstring
Product description
type'product' | 'service'
Is a service or a product ?
quantity_namestring
Name of the quantity: days, liters, m2, m3...
referencestring
account_idstring
category_idinteger
metadatastring[] nullable
Response
Success