Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

New event and origin fields for store credit transactions

As of 2025-04, the event and origin fields have been added to store credit transactions for the Customer Account GraphQL API.

event: Track what triggered a store credit transaction through the StoreCreditSystemEvent enum, which includes:

  • Order payments and refunds
  • Order cancellations
  • Payment failures and returns
  • Tax finalization adjustments
  • Manual adjustments

origin: Identify the source of the transaction, with the ability to reference back to the originating OrderTransaction when applicable.

Additionally, we've made the order field accessible on OrderTransaction objects, allowing you to easily navigate from a transaction to its associated order.

For detailed documentation on using these new fields, visit Shopify.dev.

Was this section helpful?