Hi,
Is there a way to query shipment weight using the shipments query?
Thank you!
Hey @Raj,
Thanks for reaching out.
You sure can, weight is under the dimensions field which is under the shipping_labels field which is under shipments!
Since that is needlessly complex to say in text, here’s a super simple shipments query that calls that field:
{
shipments(order_id: "string") {
request_id
complexity
data(first: 10) {
edges {
node {
id
shipping_labels {
dimensions {
weight
}
}
}
}
}
}
}
Let me know if this was what you were looking for!
Best,
RayanP
1 Like
Thank you @sh-agent! Trying this right now…
Works perfectly - Thanks again!
1 Like