Question 1: I am using partner API, and this is the query I am using. The charge_id I got is always null so that I can’t join refund table and sale table. I also checked the shopify partner dashboard, and the data exported has same problem. How can I solve it?
Question 2: As we are selling our app on shopify, I am not sure which is the best API type that I can choose. Now we only use shopify partner api. Is there anything else may also help us? Can we also use shopify ADMIN api?
query {
transactions(types: [APP_SALE_ADJUSTMENT], createdAtMin:":fromdate:", createdAtMax:":todate:", first: 100, after: ":cursor:") {
pageInfo{
hasNextPage
}
edges {
cursor
node {
... on AppSaleAdjustment {
app{
id
name
}
chargeId
createdAt
grossAmount {
amount
currencyCode
}
id
netAmount{
amount
currencyCode
}
shop{
id
myshopifyDomain
name
}
shopifyFee{
amount
currencyCode
}
}
}
}
}
}