Get Products
Retrieve all products from Last Mile Intelligence.
Operation
Section titled “Operation”getProduct
Resource
Section titled “Resource”product
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Product ID | string | No | - | Leave empty to retrieve all products |
Response
Section titled “Response”Success
Section titled “Success”[ { "id": "prod_abc123", "name": "Ultra Low Sulfur Diesel", "code": "ULSD", "category": "fuel", "isActive": true }, { "id": "prod_def456", "name": "Propane", "code": "LPG", "category": "fuel", "isActive": true }]{ "success": false, "error": "Failed to retrieve products"}Error Handling
Section titled “Error Handling”- Missing API Token: LMI credential is missing API token
- Permission Denied: API token lacks permission for this operation