Get Pricings
Retrieve all pricing records from Last Mile Intelligence.
Operation
Section titled “Operation”getPricing
Resource
Section titled “Resource”pricing
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Pricing ID | string | No | - | Leave empty to retrieve all pricings |
Response
Section titled “Response”Success
Section titled “Success”[ { "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"}Error Handling
Section titled “Error Handling”- Missing API Token: LMI credential is missing API token
- Permission Denied: API token lacks permission for this operation