Products
Update a product
Update a product by id
post/apps/{appId}/products/{id}
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.
idinteger required
ID of product
Query parameters
namestring
amountinteger
Price without taxes in cents
amount_accuratelyinteger
Price without taxes in cents / 1000
vat_percentinteger
Taxe rate in cents
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