Dev Docs

Register External Item

Method

r7Connector.registerExternalItem(item);

Parameters

id, name, unitPrice, quantity, taxGroupId

Description

Registers an external item with the given information. The available tax groups and their respective IDs can be looked up in the management console under the following menu path "system-settings > taxes > tax groups".

Example item object to pass to the function:


{
id: "9001",
name: "My Webshop Item",
unitPrice: 2.4,
quantity: 3,
taxGroupId: "2"
}