Get Customer
Retrieve a single customer record by its ID 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 | Yes | - | The ID of the customer to retrieve |
Response
Section titled “Response”Success
Section titled “Success”{ "id": "cust_abc123", "name": "Acme Corporation", "accountNumber": "ACME-001", "email": "billing@acme.com", "phone": "(555) 123-4567", "address": { "street": "123 Main St", "city": "Springfield", "state": "IL", "zip": "62701" }, "status": "active", "createdAt": "2024-01-15T10:30:00Z", "updatedAt": "2024-06-20T14:45:00Z"}{ "success": false, "error": "Customer not found", "customerId": "invalid_id"}Error Handling
Section titled “Error Handling”- Missing API Token: LMI credential is missing API token
- Customer Not Found: Customer with specified ID does not exist
- Permission Denied: API token lacks permission for this operation