Delete Product
Delete a product from Last Mile Intelligence.
Operation
Section titled “Operation”deleteProduct
Resource
Section titled “Resource”product
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Product ID | string | Yes | - | The ID of the product to delete |
Response
Section titled “Response”Success
Section titled “Success”{ "success": true, "message": "Product deleted successfully", "productId": "prod_abc123"}{ "success": false, "error": "Product not found", "productId": "invalid_id"}Error Handling
Section titled “Error Handling”- 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