Skip to content

Get Pricings

Retrieve all pricing records from Last Mile Intelligence.

getPricing

pricing

ParameterTypeRequiredDefaultDescription
Pricing IDstringNo-Leave empty to retrieve all pricings
[
{
"id": "price_abc123",
"customerId": "cust_xyz789",
"productId": "prod_fuel001",
"pricePerUnit": 3.459,
"pricingType": "contract"
},
{
"id": "price_def456",
"customerId": null,
"productId": "prod_fuel001",
"pricePerUnit": 3.599,
"pricingType": "standard"
}
]
{
"success": false,
"error": "Failed to retrieve pricings"
}
  • Missing API Token: LMI credential is missing API token
  • Permission Denied: API token lacks permission for this operation