Delete customer

A customer can be soft-deleted meaning that the customer resource remains with a status deleted, and all sensitive data is removed from the resource. All related resources like subscriptions and invoices are not deleted. A deleted customer will not appear in the customer list. The customer handle is not changed so it cannot be re-used.

A customer can only be deleted if it has none or only expired subscriptions, and no pending or dunning invoices.

Errors

The operation can generate the following errors beside the generic HTTP error codes described here.

Error code HTTP codeDescription
9404Customer not found
71400Customer is deleted
32400Customer has non-expired subscriptions, these must be handled first
33400 Customer has pending and/or dunning invoices, these must be handled first
Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!