Add a customer address
POSThttps://sandbox.api.lendeasy.ai/v1/customers/{customerId}/addresses Bearer token ·
UPDATE_LMS_CUSTOMER_ADDRESSAdds a typed address. addressType is immutable; PRIMARY_RESIDENCE, MAILING, LEGAL_NOTICE, and STATEMENT allow one active address each. country is ISO 3166-1 alpha-2 and stateCode is the full ISO 3166-2 code matching it. Verification, deliverability, and geolocation fields are accepted only from trusted integrations.
Path & query parameters
| Field | Type | Description |
|---|---|---|
| LendEasy-Tenant required in header | string | Tenant selector: lowercase letters, digits, and hyphens, 1-64 characters. Exactly one instance; the only tenant selector honored. |
| customerId required in path | string | Stable opaque customer identifier. |
| Idempotency-Key optional in header | string | Optional stable key (1-50 chars) for this one logical mutation. Replays of a completed request return the original result with x-served-from-cache: true; an in-flight duplicate returns 409 with Retry-After. Omitted keys are server-generated per attempt. |
Body parameters
| Field | Type | Description |
|---|---|---|
| addressType required | string | |
| line1 required | string | |
| city required | string | |
| stateCode required | string | |
| postalCode required | string | |
| country required | string |