This call is deprecated. Services have been phased out, and the module for managing services is no longer available on most Erply accounts. Consider using non-stock products instead of services.

Create or update a service.

Input parameters

Parameter name Description Possible value Required
serviceID Service ID if you need to change existing service Integer
groupID ID of service group. To get the list of service groups, use getProductGroups. Integer yes
unitID ID of product unit. To get the list of units, use getProductUnits. Integer
vatrateID ID of sales VAT rate. To get the list of rates, use getVatRates. If omitted, system will apply the default VAT rate. Integer
code Service's code. String
name Service name. Use either general parameter "name" or one or more of the following parameters if you need to set the names in specific languages. String
nameEST String
nameENG String
nameLAT String
nameRUS String
nameFIN String
descriptionEST String
descriptionENG String
descriptionLAT String
descriptionRUS String
descriptionFIN String
netPrice Default sales price of the service, excluding VAT Decimal
priceWithVAT Default sales price of the service, VAT included. netPrice and priceWithVat do not have to be specified both - set one of them and system will do the necessary calculations. Decimal
shopTransport Set the value to 1 if you want to show the service in webshop as a delivery option 0 or 1
hasQuickSelectButton Set the value to 1 if you want the service to have a quick-select button in POS Integer
***** Additional attributes associated with this item.
Attributes must be supplied as a flat list, each attribute defined by the following set of three parameters. Replace # with set number (1, 2, 3, ...). When updating an existing entry, API will only update the attributes specified in input data and leave all other existing attributes unchanged. To delete an attribute, set its value to 'null' or 'undefined'.
attributeName# Attribute name. Name can only contain the following symbols: A-Z, a-z, 0-9, dash and underscore. String
attributeType# Attribute type, possible types are 'text', 'int' and 'double'. By default 'text'. String
attributeValue# Value of the attribute. Set value to 'null' or 'undefined' to delete an attribute.
'text' attribute can be any string, maximum 255 characters.
'int' must be a signed 32-bit integer.
'double' must be a decimal number.


Field name Type Description
serviceID Integer ID of the newly-created item