Delete customer
The Delete customer action deletes the customer.
On this page
Triggers
The Delete customer action has a hidden field added to it by the trigger. This field, Customer ID, is set by default. The action can be used in workflows that start with triggers tha contain customers, including:
- Customer account disabled
- Customer account enabled
- Customer created
- Draft order created
- Subscription contract created
The action can also be used with triggers that contain an order because customers are associated with orders:
- Order canceled
- Order created
- Order fulfilled
- Order paid
- Order risk analyzed
- Order transaction created
- Fulfillment created
- Fulfillment event created
- Refund created
- Tender transaction created
API details
To learn more, review the customerDelete mutation.
Templates
Delete inactive customers
Delete customers over 5 years old that have never placed an order. View template
Remove D2C customer if not added to company after 3 days
When a customer is created and has not been added to a company within 3 days, the customer is deleted. View template