Skip to content

Delete Product

Delete a product from Last Mile Intelligence.

deleteProduct

product

ParameterTypeRequiredDefaultDescription
Product IDstringYes-The ID of the product to delete
{
"success": true,
"message": "Product deleted successfully",
"productId": "prod_abc123"
}
{
"success": false,
"error": "Product not found",
"productId": "invalid_id"
}
  • Missing API Token: LMI credential is missing API token
  • Product Not Found: Product with specified ID does not exist
  • Has Dependencies: Product is used in orders or pricing
  • Permission Denied: API token lacks permission for this operation