Refund created
This page was printed on Jul 05, 2023. For the current version, visit https://help.shopify.com/en/manual/shopify-flow/reference/triggers/refund-created.
TheRefund createdtrigger starts a workflow when a user in your organization or a third-party app partially or completely退款的订单.
On this page
Actions
The following actions can be used in workflows that start with theRefund createdtrigger.
- Add customer tags
- Add order line item
- Add order tags
- Archive order
- Cancel order
- Capture payment
- Create redirect URL
- Delete redirect URLs
- Mark order as paid
- Remove customer metafield
- Remove customer tags
- Remove order metafield
- Remove order tags
- Remove shop metafield
- Send fulfillment request
- Send HTTP request
- Send internal email
- Unarchive order
- Update customer metafield
- Update customer note
- Update order metafield
- Update order note
- Update shop metafield
- Wait
Example
In this example workflow, an email is sent when a refund is created.
Testing the Refund created trigger
To test a workflow that starts with this trigger, create a test order and thencreate a returnfor it.
API details
TheRefund createdtrigger allows actions to be taken with theOrder Graphql API object.