Customer Account API2025-04
New event
and origin
fields for store credit transactions
event
and origin
fields for store credit transactionsAs 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 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 when applicable.
Additionally, we've made the order
field accessible on 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?