Get Customers
Retrieve all customer records from Last Mile Intelligence.
Operation
Section titled “Operation”getCustomer
Resource
Section titled “Resource”customer
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Customer ID | string | No | - | Leave empty to retrieve all customers |
Response
Section titled “Response”Success
Section titled “Success”[ { "id": "cust_abc123", "name": "Acme Corporation", "accountNumber": "ACME-001", "email": "billing@acme.com", "status": "active" }, { "id": "cust_def456", "name": "Beta Industries", "accountNumber": "BETA-002", "email": "accounts@beta.com", "status": "active" }]{ "success": false, "error": "Failed to retrieve customers"}Error Handling
Section titled “Error Handling”- Missing API Token: LMI credential is missing API token
- Permission Denied: API token lacks permission for this operation
- Rate Limited: Too many requests, retry after delay