Query packed (but not shipped) packages?

Hi Team,

Is there any way to query the API to get the packages for a packed but unshipped order? e.g. get the data from this webhook Webhooks – Developer Resources | ShipHero

Daniel

1 Like

Hello @daniellanger,
Whether you mean when items are put in a box and not fulfilled or packed orders that have not yet been picked up by the carrier, we do not have a way to tell that specifically in the API.
The first one is not a real state from the order, but for the second one, the closest we have, is:

query {
	shipment(id: "") {
		data {
			shipping_labels {
				tracking_status
			}
		}
	}
}

Which returns some basic statuses like transit and delivered but does not specify if it was picked up.
Have a great day!