cURL
CreateConsumerRequest
curl --request POST \ --url https://sandbox.prezio.eu/api/consumers/ \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "external_id": "household_1", "email": "john@example.com", "extra_info": "Primary residence"}'
201
{ "external_id": "household_1", "email": "john@example.com", "extra_info": "Primary residence"}
Create a new consumer for the authenticated user.
Token-based authentication with required prefix "Token"
255
254
Any additional consumer-specific info
Consumer ID in standard UUID format
Was this page helpful?