Refund
read_orders, read_marketplace_orders, or read_buyer_membership_orders access scopes.read_orders, read_marketplace_orders, or read_buyer_membership_orders access scopes.:Supported actions: create, update
Subscribe to field-level changes on the Refund GraphQL Admin API object.
Each topic corresponds to a commerce resource that can exist independently within its domain. Child entities that depend on a parent within the same domain don't have their own topic. Instead, changes to child entities trigger a delivery on the parent topic. Calculated fields, derived fields, auto-updated timestamps, and cross-domain fields aren't available as triggers.
shopify.app.toml
Anchor to Supported triggersSupported triggers
Field-level triggers for Refund subscriptions.
All triggers require one of the read_orders, read_marketplace_orders, or read_buyer_membership_orders access scopes. Those triggers that require additional scopes are documented where relevant. Deprecated triggers are listed last.
Subscriptions can include multiple triggers. Use the shopify-webhook-id header for deduplication when handling duplicate deliveries.
Custom queries aren't limited to Refund. They can query the full GraphQL Admin API.
Fires when events involve the Refund object, which represents a financial record of money returned to a customer from an order.
The "create" action is only relevant within the context of this parent topic. Define a custom query to retrieve specific fields from create events.
refund.* is a parent trigger. Subscribing with the "update" action receives events for all supported triggers under refund, including nested triggers. Use a more specific trigger to limit events to the fields you need.
Variables:
Fires when the field on the Refund object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The field represents the order adjustments that are attached with the refund.
Variables: ,
Fires when the field on the Refund object changes.
is a parent trigger. Subscribing with the "update" action receives events for all supported triggers under , including nested triggers. Use a more specific trigger to limit events to the fields you need.
Include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The field represents the resources attached to the refund.
Variables: ,
Fires when the field on the object changes.
is a parent trigger. Subscribing with the "update" action receives events for all supported triggers under , including nested triggers. Use a more specific trigger to limit events to the fields you need.
Include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The field represents the subtotal price of a refunded line item in shop and presentment currencies.
Variables: ,
Fires when the transactions field on the Refund object changes.
refund.transactions.* is a parent trigger. Subscribing with the "update" action receives events for all supported triggers under refund.transactions, including nested triggers. Use a more specific trigger to limit events to the fields you need.
Include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The transactions field represents the transactions associated with the refund.
Variables: ,
Fires when the fees field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The fees field represents the transaction fees charged on the order transaction.
Variables: , ,
Fires when the status field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The status field represents the status of this transaction.
Variables: ,