carrier_boxes
Arguments
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
warehouse_id | String | No | ||
warehouse_identifier | String | No | ||
carrier | String | No | ||
only_active | Boolean | No | Whether to show only active boxes | |
only_in_stock | Boolean | No | Whether to only show boxes in stock | |
analyze | Boolean | No | If true, the query will only be analyzed (cost estimated) without executing it. |
Return Type
Query
query carrier_boxes(
$warehouse_id: String,
$warehouse_identifier: String,
$carrier: String,
$only_active: Boolean,
$only_in_stock: Boolean,
$analyze: Boolean
) {
carrier_boxes(
warehouse_id: $warehouse_id,
warehouse_identifier: $warehouse_identifier,
carrier: $carrier,
only_active: $only_active,
only_in_stock: $only_in_stock,
analyze: $analyze
) {
request_id
complexity
data {
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
node {
account_id
box_code
warehouse_identifier
warehouse_id
on_hand
active
price
carrier
carrier_code
name
area
dimensions {
weight
height
width
length
}
international
barcode
}
cursor
}
}
}
}Variables
{
"warehouse_id": "abc123",
"warehouse_identifier": "abc123",
"carrier": "abc123",
"only_active": true,
"only_in_stock": true,
"analyze": true
}Response
{
"data": {
"carrier_boxes": {
"request_id": "abc123",
"complexity": 987,
"data": CarrierBoxConnection
}
}
}