A way to get returns/refunds for a store along with the line items associated using bulk api?

A way to get returns/refunds for a store along with the line items associated using bulk api?

Saptarshi
Shopify Partner
15 0 2

hello, i’m trying to run this query to find out what line items were returned/refunded 

 

{
  orders {
    edges {
      node {
        id
        refunds {
          id
          refundLineItems {
            edges {
              node {
                lineItem {
                  id
                  name
                }
              }
            }
          }
        }
      }
    }
  }
}

 

but i’m getting this error:
Queries that contain a connection field within a list field are not currently supported.

looks like it’s not supported by the bulk api right now but is there any other way to get this data via the bulk api? i’ve tried using transactions, refunds and fulfillments but no luck so far

Replies 0 (0)