saveSubsidyType

Create or update a subsidy type.

API user must have the rights to manage Subsidy types.

This API call returns error 1006 if "Price list row subsidy and other fields module" is not enabled on this account.
It is required to add at least one name parameter. It can be either the general "name" parameter or any of the name parameters with a language code (e.g. "nameENG").

To find subsidy types, use the getSubsidyTypes API call.
To delete subsidy types, use the deleteSubsidyType API call.

Input parameters

Parameter name Description Possible value Required
subsidyTypeID Subsidy type ID. If this parameter is present, then the specified type is updated. Integer
code Subsidy type code. String
name Subsidy type 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
nameENG String
nameSPA String
nameGER String
nameSWE String
nameFIN String
nameRUS String
nameEST String
nameLAT String
nameLIT String
nameGRE String

Response

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