I am attempting to create a return using the query below after fulfilling an order, but I keep receiving a blank response.
First i am creating a order from admin, fulfilled the items and then mark the order as delivered and then i am trying to run a return fulfilment but every time i am getting blank response.
Could you please help me identify where I might be going wrong? This is my first time processing a return.
Here’s a reference image for your review:
query returnableFulfillmentsQuery {
returnableFulfillments(orderId: "gid://shopify/Order/1", first: 10) {
edges {
node {
id
fulfillment {
id
}
# Return the first ten returnable fulfillment line items that belong to the order.
returnableFulfillmentLineItems(first: 10) {
edges {
node {
fulfillmentLineItem {
id
}
quantity
}
}
}
}
}
}
}
