Get Customer Profiles
Retrieve all customer billing profiles from Last Mile Intelligence.
Operation
Section titled “Operation”getCustomerProfile
Resource
Section titled “Resource”customerProfile
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Profile ID | string | No | - | Leave empty to retrieve all profiles |
Response
Section titled “Response”Success
Section titled “Success”[ { "id": "prof_abc123", "customerId": "cust_xyz789", "name": "Primary Billing", "paymentTerms": "Net 30", "isDefault": true }, { "id": "prof_def456", "customerId": "cust_xyz789", "name": "Secondary Billing", "paymentTerms": "Net 15", "isDefault": false }]{ "success": false, "error": "Failed to retrieve profiles"}Error Handling
Section titled “Error Handling”- Missing API Token: LMI credential is missing API token
- Permission Denied: API token lacks permission for this operation