v2

latestOpenAPI 3.0.0Apache 2.02026-07-2638645559.8 KB
Products

Create multiple products

Create a new product

post/apps/{appId}/products/batch

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

idinteger
namestring
amount_accuratelyinteger

Price without taxes in milli-cents

vat_percentinteger

VAT rate in cents

currencystring
lifetimeinteger

Product life time in seconds

descriptionstring
unitystring

Unity, hours, days, meters, liters..

intangibleboolean

Is a service or a product ?

quantity_namestring

Name of the quantity: days, liters, m2, m3...

referencestring
accounting_numberstring
tagsstring[]

List of products. With ID for update, without for insert

Response

Success

idinteger
namestring
amount_accuratelyinteger

Price without taxes in milli-cents

vat_percentinteger

VAT rate in cents

currencystring
lifetimeinteger

Product life time in seconds

descriptionstring
unitystring

Unity, hours, days, meters, liters..

intangibleboolean

Is a service or a product ?

quantity_namestring

Name of the quantity: days, liters, m2, m3...

referencestring
accounting_numberstring
tagsstring[]