Hello
I am trying to get shipment details and I executed following query
query {
shipments(order_date_from: "2020-09-08", order_date_to: "2020-09-09") {
request_id
complexity
data(first: 10) {
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
}
picked_up
needs_refund
refunded
delivered
shipped_off_shiphero
dropshipment
created_date
line_items(first: 10) {
edges {
node {
id
legacy_id
line_item_id
shipment_id
shipping_label_id
quantity
}
}
}
shipping_labels {
id
legacy_id
account_id
shipment_id
order_id
box_id
status
tracking_number
order_number
carrier
shipping_name
shipping_method
cost
box_code
address {
name
address1
address2
city
state
country
zip
phone
}
device_id
delivered
picked_up
refunded
needs_refund
profile
partner_fulfillment_id
full_size_to_print
packing_slip
warehouse
insurance_amount
carrier_account_id
}
}
cursor
}
}
}
}
and I’m getting response like
{
"data": {
"shipments": {
"request_id": "5f5a27715bc1c2c8a3bc9822",
"complexity": 101,
"data": {
"pageInfo": {
"hasNextPage": false,
"hasPreviousPage": false,
"startCursor": null,
"endCursor": null
},
"edges": []
}
}
}
}
Can you pls review and explain why I am not getting any shipment details?