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


The Request:


<Request version="1.0">
<Authentication>
<Username><![CDATA[admin]]></Username>
<Password><![CDATA[Password1!]]></Password>
<StoreName><![CDATA[mystore]]></StoreName>
<XMLKey><![CDATA[123]]></XMLKey>
</Authentication>
<Action>ACTION_TYPE_PRODUCT_DELETE</Action>
<List length="2">
<Product sku="ABC"></Product>
<Product id="1109"></Product>
</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_PRODUCT_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 Products 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.
Product sku="ABC"

ABCThis is the product SKU of the item you wish to delete. You can use SKU numbers or product database ID numbers to delete an item. This is an example of how to use a SKU.
Product id="1109"

1109This is the product Database ID of the item you wish to delete. You can use SKU numbers or product database ID numbers to delete an item. This is an example of how to use a product database ID. 



The Response:



<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Action>ACTION_TYPE_PRODUCT_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 products it successfully deleted. You will only see this IF you get a "200" success response code. The ID is the ID it deleted, and "100" means it was successful. 
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.