Mutation
mutation carrier_box_update(
$data: UpdateCarrierBoxInput!
) {
carrier_box_update(
data: $data
) {
request_id
complexity
carrier_box {
...CarrierBoxFragment
account_id
box_code
warehouse_identifier
warehouse_id
on_hand
active
price
carrier
carrier_code
name
area
dimensions {
...DimensionsFragment
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"}
}
}
}