Delete a price list.

Input parameters

Parameter nameDescriptionPossible valueRequired
priceListIDsA comma-separated list of price list IDs to be deleted.String (comma-separated list of integers) yes
deleteAllAssociationsIf 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)


Field nameTypeDescription
deletedIDsStringComma-separated IDs of price lists that were found and successfully deleted.
nonExistingIDsStringComma-separated list of values that were not numeric, or IDs which did not refer to valid, existing price lists.

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.

notSufficientRightsIDsStringComma-separated IDs of price lists that cannot be deleted.