Skip to content

Get Customer Profile

Retrieve a single customer billing profile by its ID from Last Mile Intelligence.

getCustomerProfile

customerProfile

ParameterTypeRequiredDefaultDescription
Profile IDstringYes-The ID of the profile to retrieve
{
"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"
}
  • 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