{ "type": "https://tools.ietf.org/html/rfc2616#section-10", "detail": "The customer could not be deleted due missing preconditions.", "violations": [ { "propertyPath": "", "message": "The customer has active invoices.", "code": "customer_has_invoices" } ]}
Customer
Delete customer
Deletes a customer. The customer can only be deleted if there are no invoices, active subscriptions or booked payments related to this customer. Otherwise you can only archive the customer.
{ "type": "https://tools.ietf.org/html/rfc2616#section-10", "detail": "The customer could not be deleted due missing preconditions.", "violations": [ { "propertyPath": "", "message": "The customer has active invoices.", "code": "customer_has_invoices" } ]}