We have noticed that when we use a warehouse_id to filter results from the “returns” endpoint, the “first” field that we use to limit the results is filtering before the warehouse_id filter.
We therefore obtain a number of results lower than expected. (using first:5 may return 3 results while first:10 may return 7).
Would you please fix that ? Thank you.
{
returns(
customer_account_id: $customerAccountId
date_to: $dateTo
date_from: $dateFrom
warehouse_id: $warehouseId
) {
data(
first: $first
) {
pageInfo {
hasNextPage
endCursor
hasPreviousPage
startCursor
}
edges {
node {
id
order_id
created_at
total_items_expected
total_items_received
total_items_restocked
order {
partner_order_id
order_number
}
}
}
}