Get Customer Profile
Retrieve a single customer billing profile by its ID 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 | Yes | - | The ID of the profile to retrieve |
Response
Section titled “Response”Success
Section titled “Success”{ "id": "prof_abc123", "customerId": "cust_xyz789", "name": "Primary Billing", "billingAddress": { "street": "456 Commerce Ave", "city": "Chicago", "state": "IL", "zip": "60601" }, "paymentTerms": "Net 30", "creditLimit": 50000, "isDefault": true}{ "success": false, "error": "Profile not found", "profileId": "invalid_id"}Error Handling
Section titled “Error Handling”- Missing API Token: LMI credential is missing API token
- Profile Not Found: Profile with specified ID does not exist
- Permission Denied: API token lacks permission for this operation