Customer Status Request

Overview

In this scenario, we show to check the status of a particular customer, identified by email address, in Connect.
Note: Connect does not currently support alt_customer_id in customer status request messages.

XML


<?xml version="1.0" encoding="utf-8"?>
<kanaRoot>
<StatusRequests>
<CustomerStatusRequest EmailAddress="[email protected]" />
</StatusRequests>
</kanaRoot>


Result

The response will contain the status code for the customer record:

<?xml version="1.0" encoding="utf-8"?>
<kanaRoot>
<StatusResponses>
<CustomerStatus EmailAddress="[email protected]">
<StatusCode>1</StatusCode>
<Description>Active</Description>
</CustomerStatus>
</ StatusResponses>
</kanaRoot>


Notes

The values for <StatusCode> and <Description> depend on the customer's actual status (the STATUS_CODE field in the CUSTOMER_MASTER table).

StatusCode

Description

-1

Customer does not exist

0

Valid user (admin)

1

Valid customer

2

Unavailable (customer has too many bounced emails)

10

Invalid email address