Hello,
We’re loading all payments and refunds through the Partner API in our system. However, for transactions of the type AppSaleAdjustment, we’re unable to retrieve the original charge’s ID, making it difficult to connect adjustments back to their corresponding charges.
Here’s the GraphQL query we’re using:
{
transactions (
first: 40,
createdAtMin: "2024-10-28T12:09:50+00:00",
createdAtMax: "2024-10-30T12:09:50+00:00",
types: [APP_SALE_ADJUSTMENT APP_ONE_TIME_SALE APP_SUBSCRIPTION_SALE],
) {
edges {
node {
id
createdAt
__typename
...on AppSaleAdjustment { grossAmount { amount } chargeId shop { id myshopifyDomain } }
...on AppOneTimeSale { grossAmount { amount } shop { id myshopifyDomain } }
...on AppSubscriptionSale { grossAmount { amount } shop { id myshopifyDomain } billingInterval }
}
}
}
}
Has anyone else encountered this issue or found a workaround for linking AppSaleAdjustment entries to their original transactions? Any guidance would be appreciated!