Search

deleteSubsidyType

Delete 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.

To save a new subsidy type or update an existing one, use the saveSubsidyType API call.
To find subsidy types use the getSubsidyTypes API call.

Input parameters

Parameter nameDescriptionPossible valueRequired
subsidyTypeIDsA comma-separated list of type IDs to be deleted.String (comma-separated list of integers) yes

Response

Field nameTypeDescription
deletedIDsStringComma-separated IDs of types that were found and successfully deleted.
nonExistingIDsStringComma-separated list of values that were not numeric, or IDs which did not refer to a valid, existing type.
notDeletableIDsStringComma-separated list of types that were found, but which are associated with at least one price list row, or for which you do not have the rights to delete.