Knowledge Base
Categories: Customer Account Management API
Delete a Customer Account via API
When you want to permanently remove a customer account using the API. This article explains the required parameters, API request format, and conditions required before deleting a customer account.
Description
Deletes the specified Customer, if the Customer does not have any Active Order(s).
Parameters
| Name | Data Type | Required / Optional | Description |
|---|---|---|---|
| auth-userid | Integer | Required | Your Live Account Reseller Id |
| api-key | String | Required | An alphanumeric code that can be used to authenticate your API calls |
| customer-id | Integer | Required | Customer Id of the Customer that you want to delete |
HTTP Method
POST
Example Test URL Request
https://test.httpapi.com/api/customers/delete.json?auth-userid=0&api-key=key&customer-id=0
Response
Returns true (Boolean), if the specified Customer is deleted.
In case of any errors, a status key with value as ERROR alongwith an error message will be returned.
Did you find this article helpful?