Skip to content

Get Fuel

Retrieve a single fuel product by its ID from Last Mile Intelligence.

getFuel

fuel

ParameterTypeRequiredDefaultDescription
Fuel IDstringYes-The ID of the fuel product to retrieve
{
"id": "fuel_diesel",
"name": "Ultra Low Sulfur Diesel",
"code": "ULSD",
"type": "diesel",
"unitOfMeasure": "gallon",
"currentPrice": 3.459,
"taxRate": 0.244,
"isActive": true
}
{
"success": false,
"error": "Fuel not found",
"fuelId": "invalid_id"
}
  • Missing API Token: LMI credential is missing API token
  • Fuel Not Found: Fuel with specified ID does not exist
  • Permission Denied: API token lacks permission for this operation