inbound_shipment_summary
Arguments
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
inbound_shipment_id | String! | Yes | ||
only_owned_by_user | Boolean | No | ||
only_boxes_non_palletized | Boolean | No | ||
filter_by_location_id | String | No | ||
lpn_id | String | No | ||
sort_by | [String] | No | ||
include_rejected | Boolean | No | ||
analyze | Boolean | No | If true, the query will only be analyzed (cost estimated) without executing it. |
Return Type
InboundShipmentSummaryQueryResult
Query
query inbound_shipment_summary(
$inbound_shipment_id: String!,
$only_owned_by_user: Boolean,
$only_boxes_non_palletized: Boolean,
$filter_by_location_id: String,
$lpn_id: String,
$sort_by: [String],
$include_rejected: Boolean,
$analyze: Boolean
) {
inbound_shipment_summary(
inbound_shipment_id: $inbound_shipment_id,
only_owned_by_user: $only_owned_by_user,
only_boxes_non_palletized: $only_boxes_non_palletized,
filter_by_location_id: $filter_by_location_id,
lpn_id: $lpn_id,
sort_by: $sort_by,
include_rejected: $include_rejected,
analyze: $analyze
) {
request_id
complexity
data {
stats {
unpalletized_boxes_count
pallets_count
}
in_lpns {
lpn {
id
barcode
container_type
}
content {
product_info {
id
sku
name
}
lot {
id
name
sku
}
quantity_received
quantity_loose
is_unexpected
inbound_shipment_line_item {
id
quantity
quantity_received
quantity_rejected
}
containers {
lpn {
id
barcode
container_type
}
quantity_received
}
receiving_location {
id
location
zone
}
receiving_workers {
id
first_name
last_name
}
}
quantity_received
quantity_loose
received_location {
id
location
zone
}
}
}
}
}Variables
{
"inbound_shipment_id": "abc123",
"only_owned_by_user": true,
"only_boxes_non_palletized": true,
"filter_by_location_id": "abc123",
"lpn_id": "abc123",
"sort_by": ["abc123"],
"include_rejected": true,
"analyze": true
}Response
{
"data": {
"inbound_shipment_summary": {
"request_id": "abc123",
"complexity": 987,
"data": InboundShipmentSummaryData
}
}
}