Shipments Query - Only Returns 26 of Today's Shipments

Hi,

We’ve been using the ShipHero API for 6+ months with few issues until today. Starting today, it is returning false for both hasNextPage and hasPrevious page. No matter if we do first:30 or last:30 or first:10 it only returns 26 shipments which are not right.

I’m hoping this is just a temporary bug but getting concerned as it’s been going on for hours. Maybe we’re doing something wrong, but like I said, it’s worked fine for 6+ months.

Any advice/help is appreciated!

Sample Query:
query {
shipments(date_from: “2023-06-24”, date_to: “2023-06-28”) {
request_id
complexity
data(last:38) {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
id
legacy_id
order_id
user_id
warehouse_id
pending_shipment_id
address {
name
address1
address2
city
state
country
zip
phone
}
shipped_off_shiphero
dropshipment
created_date
line_items(first:50) {
edges {
node {
line_item_id
quantity
}
}
}
order {
order_number
account_id
fulfillment_status
shipping_lines {
title
carrier
method
price
}
}
shipping_labels {
id
legacy_id
account_id
tracking_number
carrier
shipping_name
shipping_method
cost
profile
packing_slip
warehouse
insurance_amount
carrier_account_id
source
created_date
dimensions {
weight
height
width
length
}
order_number
}
}
}
}
}
}

Request data:
{
“data”: {
“shipments”: {
“request_id”: “6499cd8bc677dc859ed64685”,
“complexity”: 1939,
“data”: {
“pageInfo”: {
“hasNextPage”: false,
“hasPreviousPage”: false,
“startCursor”: “YXJyYXljb25uZWN0aW9uOjA=”,
“endCursor”: “YXJyYXljb25uZWN0aW9uOjEy”
},

It seems like this was fixed after ~6 hours of not working so we should be good for now.

1 Like

Hey @barrettshepherd,

Thanks for reaching out!
Glad to hear this issue is fixed. If it does happen again, let us know and we’ll take a look!

Best,
RayanP