delete https://www.pelcro.com/api/v1/core/customers/
Permanently deletes a customer and related objects.
Description
Use this endpoint to delete an existing customer, which will return an empty response on success.
Deleting a customer also immediately cancels any active subscriptions on the customer. This operation cannot be undone.
What exactly happens?
When you call this endpoint:
- The customer record is soft deleted.
- Related entities are also soft deleted in this operation, including:
- Subscriptions associated with the customer.
- Memberships associated with the customer.
- Payment sources.
- Addresses tied to the customer.
- Social network links (e.g., Google ID, Facebook ID, any external social network IDs).
- All active subscriptions for this customer are automatically cancelled.
Automatic Personal Data Deletion
If your site has Automatic Personal Data Deletion enabled in the Pelcro Platform
(Settings → Site Settings → Automatic Personal Data Deletion),
then after you delete a customer through this API, Pelcro will automatically:
- Clear or redact personal information related to that customer across associated objects (addresses, subscriptions, payment methods, exports, and activity logs).
- Ensure that this data can no longer be linked to the user, in line with international privacy regulations (e.g., GDPR).
This process happens automatically once a customer has been deleted.
Learn more:
See Automatic Personal Data Deletion for details on how this feature works and what data is cleared.
