Search

deleteProduct

Delete a product. Products that have any number of transactions associated with them (sales, purchases or inventory) cannot be deleted; API returns error 1063. Instead, we always recommend to archive the product — setting its status to “ARCHIVED”.

In ERPLY backend, deleting products is no longer possible; clicking the “X” button always archives a product.

Input parameters

Parameter nameDescriptionPossible valueRequired
productIDThe product to be deleted.Integer yes