Loading...

Knowledge Base

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.

Deleting a Customer

 

Description

Deletes the specified Customer, if the Customer does not have any Active Order(s).

Parameters

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredYour Live Account Reseller Id
api-keyStringRequiredAn alphanumeric code that can be used to authenticate your API calls 
customer-idIntegerRequiredCustomer 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.