Hi:
Noob here. I am downloading orders and refunds to sync with my system. When I go to download refunds, I get entries but they have no refundLineItems values (empty edges array returned). Is this possible? Here’s the image of the test refund:
Here’s the GraphQL query:
query($numOrders: Int!, $cursor: String, $criteria: String!) {{
orders(first:$numOrders, query: $criteria, after: $cursor) {{
edges {{
cursor
node {{
id
name
customer {{
id
}}
totalPrice
totalRefunded
totalShippingPrice
cancelledAt
closed
closedAt
createdAt
fulfillments {{
createdAt
}}
refunds(first:10) {{
createdAt
refundLineItems(first:10) {{
edges {{
node {{
lineItem {{
quantity
sku
}}
price
subtotal
}}
}}
}}
totalRefunded {{
amount
}}
id
}}
tags
}}
}}
pageInfo {{
hasNextPage
hasPreviousPage
}}
}}
}}
Variables are:
{
"numOrders": 5,
"cursor": null,
"criteria": "created_at:>2020-01-01T00:00:00Z created_at:<2020-12-31T00:00:00Z financial_status:refunded status:closed"
}
Here are the results:
Why is my refundLineItems empty?

