deletePriceList

Delete a price list.

Input parameters

Parameter name Description Possible value Required
priceListIDs A comma-separated list of price list IDs to be deleted. String (comma-separated list of integers) yes
deleteAllAssociations If set to 1, the API call also removes the price list from all locations, regions, customer groups and customers. However, to do that, you need to have the user rights to modify all locations, regions, customer groups and customers. Integer(0/1)

Response

Field name Type Description
deletedIDs String Comma-separated IDs of price lists that were found and successfully deleted.
nonExistingIDs String Comma-separated list of values that were not numeric, or IDs which did not refer to valid, existing price lists.
notDeletableIDs String

Comma-separated list of price lists that are still associated with locations, regions, customer groups, or customers, and cannot therefore be deleted.

You can override this with the flag deleteAllAssociations = 1 to delete all the associations along with the price list itself.

notSufficientRightsIDs String Comma-separated IDs of price lists that cannot be deleted.