Resource: product.nv

HTTP-method: POST

Note! If you are using Rackbeat inventory management in Netvisor, the API documentation can be found here: https://support.netvisor.fi/fi/support/solutions/articles/77000554491-rackbeat-stoplight-rajapinta
For extended product management, a new product can be imported via the interface as described below, but updating products is not supported with extended product management.

Parameters used in the request (QueryString):

ParameterOccursDescriptionExample
method1add or editadd 
id0..1If method is edit, the id of the product to be edited is required123
useonlyexistingdimensions
0...1Prevents automatic creation of new cost object headers and cost objects. Returns an error if the given cost object does not exist.

1 = prevention enabled
1

If method has not been set or the product to be updated is not found in the system, an INVALID_DATA error with further details is returned. The id for the product to be updated can be obtained by first requesting the product list.
Product information can be accurately represented using new weight fields (productnetweight, productgrossweigh and productweightunit). It is recommended not to use the old product weight field (unitweight) anymore. The field can still be used for backward compatibility, but in the user interface all existing product weight units will change to kilograms (kg) and be expressed in the net weight field.

The data to import is sent with the request as an XML with the following structure (POST data):

LevelElementTypeOccursDescriptionExample
RootrootAggr.1  
1productAggr.1  
2productbaseinformationAggr.1  
3productcodeString, max 50 characters0...1Product codeCC
3productgroupString1Product group name, product is added to the group if the product group is found in the system. If it is not found, it will be createdBooks
3nameString, max 200 characters1Product nameCode Complete
3descriptionString0...1DescriptionSecond edition
3unitpriceNumeric1Product unit price42,5
Attr.typeString1Indicates whether the given price is gross or net.net
3unitString, max 50 characters0...1Product unit, if the given unit is not found in the system it will be created. If it is found, the existing one is used.pc
3unitweightString0...1Product unit weight with two decimals. It is recommended not to use this weight field (unitweight) anymore, but to use new weight fields (productnetweight, productgrossweigh and productweightunit)1,00
3purchasepriceNumeric0...1Purchase price25
3tariffheadingString0...1Tariff headingCode complete
3comissionpercentageNumeric0...1Commission percentage11
3isactiveNumeric1Is the product active, 0 = inactive / 1 = active1
3issalesproductNumeric1Is the product a sales product, 0 = no / 1 = yes0
3inventoryenabledNumeric0...1Is the product stored in stock, 0 = no / 1 = yes1
3inventorybatchlinkingmodeNumeric0...1Batch processing type. Allowed values:

No batch processing = 1
Manual batch selection = 2
Newest first by delivery date = 3
Oldest first by delivery date = 4 (FIFO)
Newest first by use-by date = 5
Oldest first by use-by date = 6
Newest first by manufacturing date = 7
Oldest first by manufacturing date = 8
4
3countryoforiginString0...1Country of originFI
Attr.typeString0...1Always ISO-3166ISO-3166
3primaryeancodeString0...1Product primary EAN code123456789012
Attr.typeString0...1EAN code type. The interface checks the format of the EAN code according to the type.
any, ean8, ean13, code128.
ean13
3secondaryeancodeString0...1Product secondary EAN code12345689012
Attr
typeString
EAN code type. The interface checks the format of the EAN code according to the type.
any, ean8, ean13, code128.
ean13
3inventoryalertlimitNumeric0...1Alert limit20,50
2productbookkeepingdetailsAggr.0...1  
3defaultvatpercentageNumeric1Vat rate, if the given tax rate is not found in the system an error is returned24
3defaultdomesticaccountnumberNumeric0...1Domestic sales account3000
3defaulteuaccountnumberNumeric0...1EU sales account3360
3defaultoutsideeuaccountnumberNumeric0...1Sales account outside the community3380
2productadditionalinformationAggr.0...1  
3productnetweightNumeric0...1Net weight11,2
3productgrossweightNumeric0...1Gross weight12,6
3productweightunitString0...1Net and gross weight unit: g, kg or tnkg
3dimensionAggr.0...1

4dimensionnameString1Cost object header name. Created if needed.Project
4dimensionitemString1Cost object. Created if needed.Project 1
4dimensionitemcodeString0...1Cost object code

(when this is given, the dimensionitem element is ignored)
DIMC-001
4dimensionitemnameString0...1Cost object name

(when this is given, the dimensionitem element is ignored)
Item Name 1
3productpackageinformationAggr.0...1  
4packagewidthNumeric1Package width in centimeters7,3
4packageheightNumeric1Package height in centimeters15,0
4packagelengthNumeric1Package length in centimeters36,1
2productcustomtagsAggr.0..1

3productcustomtagAggr.1...n

4tagnameString1Additional information field name.Date field
4tagvalueString1Additional information field value.2022-01-01
Attr.datatypeString1Additional information field type. date, text, decimal or enumdate
This article has been translated using an AI-based translation tool. The contents or wording of these instructions may differ from those in other instructions or in the software.


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.