end_users
PUT {{api_url}}/api/v1/end_users
Upserts (Creates or updates) an existing end_user in Userlot by setting appropriate attributes in the body of the request.
If you specify an id
, external_id
or source_external_id
attribute it will attempt an update, otherwise it will create.
Please see the Custom Field setup for this entity to determine if certain attributes are required
Request Body
[{"name"=>"first_name", "value"=>"Gary f", "datatype"=>"string"}, {"name"=>"external_id", "value"=>"000", "datatype"=>"string"}, {"name"=>"email", "value"=>"some@abc.com", "datatype"=>"string"}, {"name"=>"company_id", "value"=>"4dfb21d9-dffe-489c-bb42-d5836f64fd85", "datatype"=>"string"}, {"name"=>"last_name", "value"=>"Moore", "datatype"=>"string"}, {"name"=>"id", "value"=>"8bf8d1df-915f-4660-994a-65e161acef3f", "datatype"=>"string"}]