Null Shopify Payout Data | shopifyPaymentsAccount = NULL

Null Shopify Payout Data | shopifyPaymentsAccount = NULL

NicklausVega
Shopify Partner
1 0 0

I am creating an integration between Shopify and an accounting software for my clients to help speed up the creation of financial statements. I finally figured out the scopes needed to pull the data I need. The only issue with a development store is that there is no payout data for me to pay around with.

 

I am running the query:

query {
  shopifyPaymentsAccount {
    balanceTransactions(first: 10) {
      nodes {
        id
        type
        test
        associatedPayout {
          id
          status
        }
        amount {
          amount
          currencyCode
        }
        fee {
          amount
        }
        net {
          amount
        }
        sourceId
        sourceType
        sourceOrderTransactionId
        associatedOrder {
          id
        }
        adjustmentsOrders {
          orderTransactionId
          amount {
            amount
          }
          name
        }
        adjustmentReason
      }
    }
    payouts {
      nodes {
        id
      }
    }
  }

}

 

And I receive:

{
  "data": {
    "shopifyPaymentsAccount": null
  },
  "extensions": {
    "cost": {
      "requestedQueryCost": 21,
      "actualQueryCost": 1,
      "throttleStatus": {
        "maximumAvailable": 2000,
        "currentlyAvailable": 1999,
        "restoreRate": 100
      }
    }
  }
}

Is there any way to get around this?

Replies 0 (0)