Delete customer
The Delete customer action deletes the customer.
Triggers
The Delete customer action can be used in workflows that have a Get customer data action, or any triggers that contain a customer, such as:
- Customer account disabled
- Customer account enabled
- Customer created
- Draft order created
- Fulfillment created
- Order canceled
- Order created
- Order fulfilled
- Order paid
- Order risk analyzed
- Order transaction created
- Refund created
- Subscription contract created
Example
In this example workflow, customers that are over 5 years old and who have not made an order are deleted.
API details
To learn more, review the customerDelete mutation.