Delete customer
TheDelete customeraction deletes the customer.
Triggers
TheDelete customeraction 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
- 实现created
- Order cancelled
- 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 thecustomerDeletemutation.