getCustomerForExactSearchParameters
getCustomerForExactSearchParameters
Path Parameters
serviceSubscriberDepartmentToken string required
application/json
Request Body required
firstName string
lastName string
email string
phone string
customerKey string
customerGuidFilter string[]
Responses
- 200
- 204
- 400
- 401
- 500
OK
application/json
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
customers object[]
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
],
"customers": [
{
"id": 0,
"customerKey": "string",
"firstName": "string",
"middleName": "string",
"lastName": "string",
"company": "string",
"preferredLocale": "string",
"emails": [
{
"emailAddress": "string",
"label": "string",
"okToEmail": true,
"isPreferred": true,
"comments": "string"
}
],
"phoneNumbers": [
{
"phoneNumber": "string",
"label": "string",
"okToCall": true,
"okToText": true,
"isPreferred": true,
"comments": "string"
}
],
"preferredCommunication": "string",
"bestTimeToContact": {
"startTime": "string",
"endTime": "string"
},
"addresses": [
{
"line1": "string",
"line2": "string",
"city": "string",
"zip": "string",
"addressType": "string",
"type": "COMMON",
"country": "string",
"updateTS": "2025-04-07T07:51:23.952Z",
"uuid": "string",
"isValid": true,
"isPreferred": true,
"state": "string"
}
],
"availability": 0,
"isBusiness": true,
"customerUuid": "string",
"customerId": "string"
}
]
}
No Content
*/*
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
]
}
Bad Request
*/*
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
]
}
Unauthorized
*/*
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
]
}
Internal Server Error
*/*
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string"
}
]
}
POST /v2/department/:serviceSubscriberDepartmentToken/customer/search-exact
Request
Request
curl / cURL
curl -L -X POST '/customer/v2/department/:serviceSubscriberDepartmentToken/customer/search-exact' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"firstName": "string",
"lastName": "string",
"email": "string",
"phone": "string",
"customerKey": "string",
"customerGuidFilter": [
"string"
]
}'
python / requests
curl -L -X POST '/customer/v2/department/:serviceSubscriberDepartmentToken/customer/search-exact' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"firstName": "string",
"lastName": "string",
"email": "string",
"phone": "string",
"customerKey": "string",
"customerGuidFilter": [
"string"
]
}'
go / native
curl -L -X POST '/customer/v2/department/:serviceSubscriberDepartmentToken/customer/search-exact' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"firstName": "string",
"lastName": "string",
"email": "string",
"phone": "string",
"customerKey": "string",
"customerGuidFilter": [
"string"
]
}'
nodejs / axios
curl -L -X POST '/customer/v2/department/:serviceSubscriberDepartmentToken/customer/search-exact' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"firstName": "string",
"lastName": "string",
"email": "string",
"phone": "string",
"customerKey": "string",
"customerGuidFilter": [
"string"
]
}'
ruby / Net::HTTP
curl -L -X POST '/customer/v2/department/:serviceSubscriberDepartmentToken/customer/search-exact' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"firstName": "string",
"lastName": "string",
"email": "string",
"phone": "string",
"customerKey": "string",
"customerGuidFilter": [
"string"
]
}'
csharp / RestSharp
curl -L -X POST '/customer/v2/department/:serviceSubscriberDepartmentToken/customer/search-exact' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"firstName": "string",
"lastName": "string",
"email": "string",
"phone": "string",
"customerKey": "string",
"customerGuidFilter": [
"string"
]
}'
php / cURL
curl -L -X POST '/customer/v2/department/:serviceSubscriberDepartmentToken/customer/search-exact' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"firstName": "string",
"lastName": "string",
"email": "string",
"phone": "string",
"customerKey": "string",
"customerGuidFilter": [
"string"
]
}'
java / OkHttp
curl -L -X POST '/customer/v2/department/:serviceSubscriberDepartmentToken/customer/search-exact' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"firstName": "string",
"lastName": "string",
"email": "string",
"phone": "string",
"customerKey": "string",
"customerGuidFilter": [
"string"
]
}'
powershell / RestMethod
curl -L -X POST '/customer/v2/department/:serviceSubscriberDepartmentToken/customer/search-exact' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"firstName": "string",
"lastName": "string",
"email": "string",
"phone": "string",
"customerKey": "string",
"customerGuidFilter": [
"string"
]
}'