carrier_box_update
Updates the price or quantity on hand of a carrier box in a warehouse.
Arguments
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
data | UpdateCarrierBoxInput! | Yes |
Return Type
Mutation
mutation carrier_box_update(
$data: UpdateCarrierBoxInput!
) {
carrier_box_update(
data: $data
) {
request_id
complexity
carrier_box {
account_id
box_code
warehouse_identifier
warehouse_id
on_hand
active
price
carrier
carrier_code
name
area
dimensions {
weight
height
width
length
}
international
barcode
}
}
}Variables
{
"data": {
"box_code": "STANDARD",
"warehouse_id": "V2FyZWhvdXNlOjEyMzQ=",
"on_hand": 2,
"price": 19.99
}
}Response
{
"data": {
"carrier_box_update": {
"request_id": "UmVjb3JkOjEyMzQ=",
"complexity": 100,
"carrier_box": {carrier: "ups", method: "ups_ground"}
}
}
}