Update consumer
This endpoint updates an existing consumer in Impel's system.
Path Parameters
ID of the consumer
Header Parameters
This parameter uniquely identifies an Impel partner and will be used for API authentication and authorization.
An API Key issued by Impel that will be used for API authentication and authorization.
The unique IDP Identifier assigned to the client by Impel during onboarding.
Request Body
application/json
Updated details of the consumer
TypeScript Definitions
Use the request body type in TypeScript.
An object containing all information about a consumer
Response Body
curl -X PATCH "https://example.com/v2/consumers/0" \ -H "partner-id: string" \ -H "x-api-key: string" \ -H "client-key: string" \ -H "Content-Type: application/json" \ -d '{ "crm_consumer_id": "123abc-1234ab-123abc", "first_name": "John", "last_name": "Doe", "middle_name": "Michael", "email": "john.doe@example.com", "phone": "+11231231134", "city": "New York", "country": "USA", "address": "123 Main St, Apt 4B", "postal_code": "10001" }'