Skip to main content

Product Master Input Model

Fields

FieldDescriptionType
productCodeProduct 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
productNameProduct name.string, maxLength(100)required for new records
productTypeProduct type. List of product types can be found here.string, maxLength(1)required for new records
statusProduct status. List of product statuses can be found here.string, maxLength(1)required for new records
variant1NameProduct variant name.string, maxLength(20)
variant2NameProduct variant name.string, maxLength(20)
Optional Fields
FieldDescriptionType
productName2Alternate product name.string, maxLength(100)
unitUnit of measurement.string, maxLength(8)
pricePrice of product.number
minPriceMinimum price of product.number
costCost of product.number
productCategoryNameProduct category name. Value must be an existing product category in Cloud Accounting web application.string
postingGroupProduct posting group. Value must be an existing posting group in Cloud Accounting web application.string
supplyTaxCodeSupply tax code. Value must be an existing tax code in Cloud Accounting web application.string
purchaseTaxCodePurchase tax code. Value must be an existing tax code in Cloud Accounting web application.string
tariffCodeTariff code. Value must be an existing tariff code in Cloud Accounting web application.string
imageProduct image. (Base64 encoded string)string
furtherDescriptionFurther document description.string
noteDocument notes. (HTML)string
supplierSupplier code. Value must be an existing creditor code in Cloud Accounting web application.string, maxLength(12)
barCodeBarcode.string, maxLength(30)
classificationCodeClassification Codestring, maxLength(5)
unitTypeUnit Typestring, maxLength(5)
cannotConsolidateInvoiceCannot Consolidate Invoiceboolean
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.