End User API [Deprecated]
Update End User
End User API [Deprecated]
Update End User
POST
/api/update_end_user/
Explo-Authorization*
curl --request POST \
--url https://api.explo.co/api/update_end_user/ \
--header 'Explo-Authorization: <explo-authorization>' \
--data '{
"provided_id": "<provided_id>",
"customer_id": 0
}'
The End User API is now deprecated and has been replaced by the Customer API.
Body
provided_idrequired
string
The ID of the end user you provided in creation
customer_idrequired
number
The ID of the end user group the end user belongs to
email
string
A new email to associate the end user with
attributes
object
A new set of attributes to associate the end user with
Response
success
number
Indicates whether the call was successful. 1 if successful, 0 if not.
end_user
object
The data of the end user
curl --location --request POST 'https://api.explo.co/api/update_end_user/' \
--header 'Content-Type: application/json' \
--header 'Explo-Authorization: Token <token>' \
--data-raw '{
"provided_id": "example_1",
"email": "example@explo.co",
"customer_id": 123
}'
{
"success": 1,
"end_user": {
"provided_id": 3,
"email": "example@explo.co",
"attributes": "{'name': 'Example', 'header': '<div/>'"
}
}
curl --location --request POST 'https://api.explo.co/api/update_end_user/' \
--header 'Content-Type: application/json' \
--header 'Explo-Authorization: Token <token>' \
--data-raw '{
"provided_id": "example_1",
"email": "example@explo.co",
"customer_id": 123
}'
{
"success": 1,
"end_user": {
"provided_id": 3,
"email": "example@explo.co",
"attributes": "{'name': 'Example', 'header': '<div/>'"
}
}