Create or update customer
POST
/v1/customerRequest body
requiredapplication/jsonapiKeystringcustomerobjectShow propertiesHide properties
phoneNumberstringfirstNamestringlastNamestringemailstringpropertiesobjectShow propertiesHide properties
valuesobjectaddToListsstring[]removeFromListsstring[]Responses
200Successful response
statusstringRequest
curl -X POST "https://api.sendhelios.com/v1/customer" \
-H "Content-Type: application/json" \
-d '{
"apiKey": "string",
"customer": {
"phoneNumber": "string",
"firstName": "string",
"lastName": "string",
"email": "string"
},
"properties": {
"values": {}
},
"addToLists": [
"string"
],
"removeFromLists": [
"string"
]
}'const response = await fetch("https://api.sendhelios.com/v1/customer", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"apiKey": "string",
"customer": {
"phoneNumber": "string",
"firstName": "string",
"lastName": "string",
"email": "string"
},
"properties": {
"values": {}
},
"addToLists": [
"string"
],
"removeFromLists": [
"string"
]
})
});import requests
response = requests.post(
"https://api.sendhelios.com/v1/customer",
headers={
"Content-Type": "application/json"
},
json={
"apiKey": "string",
"customer": {
"phoneNumber": "string",
"firstName": "string",
"lastName": "string",
"email": "string"
},
"properties": {
"values": {}
},
"addToLists": [
"string"
],
"removeFromLists": [
"string"
]
},
)Response
{
"status": "string"
}