Consumers
Get consumer
Retrieve consumer by ID
Returns a consumer by their ID.
Path Parameters
consumer_id*integer
ID of the consumer
Header Parameters
partner-id*string
This parameter uniquely identifies an Impel partner and will be used for API authentication and authorization.
x-api-key*string
An API Key issued by Impel that will be used for API authentication and authorization.
dealer-id*string
The ID assigned to the dealership by Impel during onboarding.
Response Body
application/json
curl -X GET "https://example.com/v1.1/consumers/0" \ -H "partner-id: string" \ -H "x-api-key: string" \ -H "dealer-id: my-test-dealer"{ "crm_consumer_id": "123abc-1234ab-123abc", "first_name": "John", "last_name": "Doe", "middle_name": "Michael", "email": "john.doe@example.com", "phone": "+11231231134", "general_optin_flag": true, "email_optin_flag": true, "sms_optin_flag": true, "mail_optin_flag": true, "phone_optin_flag": true, "city": "New York", "country": "USA", "address": "123 Main St, Apt 4B", "postal_code": "10001"}Update lead
This endpoint updates an existing lead in the data layer. The existing vehicles in the 'vehicles_of_interest' array won't be modified. Instead, new vehicles will be added to the array.
Create consumer
This endpoint creates a record for a Consumer in the data layer. Fields should be populated by partner systems.