Product Master Input Model
Fields
Field | Description | Type | |
---|---|---|---|
productCode | Product code. Value must be an existing product code in Cloud Accounting web application. More information can be found here. | string, maxLength(20) | required for new records |
productName | Product name. | string, maxLength(100) | required for new records |
productType | Product type. List of product types can be found here. | string, maxLength(1) | required for new records |
status | Product status. List of product statuses can be found here. | string, maxLength(1) | required for new records |
variant1Name | Product variant name. | string, maxLength(20) | |
variant2Name | Product variant name. | string, maxLength(20) |
Optional Fields
Field | Description | Type |
---|---|---|
productName2 | Alternate product name. | string, maxLength(100) |
unit | Unit of measurement. | string, maxLength(8) |
price | Price of product. | number |
minPrice | Minimum price of product. | number |
cost | Cost of product. | number |
productCategoryName | Product category name. Value must be an existing product category in Cloud Accounting web application. | string |
postingGroup | Product posting group. Value must be an existing posting group in Cloud Accounting web application. | string |
supplyTaxCode | Supply tax code. Value must be an existing tax code in Cloud Accounting web application. | string |
purchaseTaxCode | Purchase tax code. Value must be an existing tax code in Cloud Accounting web application. | string |
tariffCode | Tariff code. Value must be an existing tariff code in Cloud Accounting web application. | string |
image | Product image. (Base64 encoded string) | string |
furtherDescription | Further document description. | string |
note | Document notes. (HTML) | string |
supplier | Supplier code. Value must be an existing creditor code in Cloud Accounting web application. | string, maxLength(12) |
barCode | Barcode. | string, maxLength(30) |
classificationCode | Classification Code | string, maxLength(5) |
unitType | Unit Type | string, maxLength(5) |
cannotConsolidateInvoice | Cannot Consolidate Invoice | boolean |
caution
Filling in the variant1Name
and variant2Name
fields indicate that the product has variants.
If these fields are assigned values, the productVariant1Options
and productVariant2Options
fields in Product Input Model cannot be empty, otherwise an error will be returned.