Deleting a Customer

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 Authentication Parameter
api-key String Required Authentication Parameter
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.