I’m querying the same shop_cash_refund adjustment balance transaction via both APIs and getting different results:
REST API:
GET /admin/api/2024-10/shopify_payments/balance/transactions.json?id=123456789
{
"adjustment_reason": "shop_cash_refund",
"adjustment_order_transactions": [
{
"id": 987654321,
"amount": "40.07",
"order": { "id": 555555555, "name": "#12345" }
}
]
}
GRAPHQL:
query {
node(id: "gid://shopify/ShopifyPaymentsBalanceTransaction/123456789") {
... on ShopifyPaymentsBalanceTransaction {
adjustmentReason
adjustmentsOrders {
orderTransactionId
amount { amount }
name
}
}
}
}
{
"adjustmentReason": "shop_cash_refund",
"adjustmentsOrders": []
}
Why is adjustmentsOrders empty in GraphQL when REST returns data? Is this a known limitation, am I missing a required scope/permission or something else?
Using API version 2025-10 with read_shopify_payments_payouts and read_shopify_payments_accounts scopes.
Thanks in advance,
José
Hi José
Thanks for flagging this - it’s possible that the GraphQL API doesn’t have support for this as yet. For the store that you’re querying, is the Shopify Payments account still active? If it’s not, that could be why you’re not seeing data being returned. Do you know if this is also returning no data on all stores or just this one store?
Hi Liam, thanks for getting back to me!
I’ve double-checked my store settings and the data available via the API, and I’m not seeing any adjustmentOrders being populated, even though Shopify Payments is enabled and active on the store.
I confirmed the Shopify Payments account status with the following query:
query GetShopDetails {
shopifyPaymentsAccount {
id
activated
}
}
Which returns:
{
"data": {
"shopifyPaymentsAccount": {
"id": "gid://shopify/ShopifyPaymentsAccount/1234567890",
"activated": true
}
}
}
For additional context, we currently have a production product built on top of the REST Admin API, where this data is available and used. We’re in the process of migrating to the GraphQL Admin API in order to align with Shopify’s recommendation, and part of this work involves reproducing the exact same dataset and behavior we currently rely on.
Given that the Shopify Payments account is active, could this indicate that adjustmentOrders isn’t yet supported in the GraphQL API, or that it’s only populated under specific conditions? Any idea where we can find this information?
Thanks in advance,
José
DMing you for more details on this José
Update on this: There is currently a gap in how the adjustmentsOrders field is handled on the ShopifyPaymentsBalanceTransaction object. Currently only shop_cash adjustments are supported but not refunds and other adjustments.
This is on our radar to resolve but there’s no ETA for when this will be released.