Skip to main content
POST
/
v1
/
customer
Create or update customer
curl --request POST \
  --url https://api.example.com/v1/customer \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "apiKey": "<string>",
  "customer": {
    "phoneNumber": "<string>",
    "firstName": "<string>",
    "lastName": "<string>",
    "email": "<string>"
  },
  "properties": {
    "values": {}
  },
  "addToLists": [
    "<string>"
  ],
  "removeFromLists": [
    "<string>"
  ]
}
'
{
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

Enter your Bearer token in the format 'Bearer <token>'

Body

application/json
apiKey
string
customer
object
properties
object
addToLists
string[]
removeFromLists
string[]

Response

200 - application/json

Successful response

status
string