Below is the info about the "CUSTOMER DELETE ENDPOINT" for the CoreCommerce API.


The Request:


<Request version="1.0">

<Authentication>

<Username><![CDATA[admin]]></Username>

<Password><![CDATA[password!]]></Password>

<StoreName><![CDATA[mystore]]></StoreName>

<XMLKey><![CDATA[123]]></XMLKey>

</Authentication>

<Action>ACTION_TYPE_CUSTOMER_DELETE</Action>

<List length="2">

<Customer cString="9be701ff4e04ade2989bfd135fae1ad1" ></Customer>

<Customer email="fakeemail@gmail.com" ></Customer>

</List>

</Request>


Below is a chart of the definitions of what is in the above request, and what each search term means:


Authentication


NameRequiredExample ValueComments
UsernameY"admin" or "mystorename"You create this value inside your admin under Settings->Store API. The value you set there inside your CoreCommerce Admin Panel is the value you use here.
PasswordYAn alphanumeric string that is hard to guess (i.e. "MyPassWord1!")You create this value inside your admin under Settings->Store API. The value you set there inside your CoreCommerce Admin Panel is the value you use here.
XML KeyYA long string to further add to the security of your API connection (i.e. "FY3D57THY32HTC3748TRC38H74TR")You create this value inside your admin under Settings->Store API. The value you set there inside your CoreCommerce Admin Panel is the value you use here.
ActionYACTION_TYPE_CUSTOMER_DELETE
 This is telling the API which endpoint you want to work with. In this case it is ACTION_TYPE_CUSTOMER_DELETE
List
Y"Length = 1" or "Length = 10"Opens the Request by telling the API how many Customers you have included in the request. If you are adding one customer, "length" would be set to 1 as you see in the above example. If you are adding multiple customers, this should tell the API how many you are adding.
cString
9be701ff4e04ade2989bfd135fae1ad1
This is the customer ID in the database of the customer you want to delete. If you dont have this value, you can use the CUSTOMER LIST ENDPOINT to query and get back the cString of the customer. It is required to delete the customer in this endpoint.
Email
fakeemail@gmail.com
This is the email address of the customer you want to delete. 



The Response:


Response:
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Action>ACTION_TYPE_CUSTOMER_DELETE</Action>
<Status>SUCCESS_CODE</Status>
<Code>
</Code>
<Messages>
</Messages>
<List length="1">
< id="">
<Code>100</Code>
<Message>
<![CDATA[]]>
</Message>
</>
</List>
</Response>


NameComments
ActionThis will tell you the action it just processed.
StatusSUCCESS_CODE means it was successful. Anything other than this means it failed.
Code"200" is a valid response and means it was successful and executed the request you made properly. Anything other than "200" means there was an error.
MessagesThis will be the message from the API telling you what the issue was IF it failed.
ListThis will show you the list of customers it successfully added. You will only see this IF you get a "200" success response code.
Category This will show you the ID of the customer it added for your reference.
CodeThe code related to adding or editing that customer. "100" means it was successful. 
MessageAny specific message related to adding that customer to your store.