Mutation
mutation custom_box_update(
$data: UpdateCustomBoxInput!
) {
custom_box_update(
data: $data
) {
request_id
complexity
custom_box {
...CustomBoxFragment
id
legacy_id
account_id
warehouse_id
warehouse_identifier
barcode
name
dimensions {
...DimensionsFragment
weight
height
width
length
}
active
on_hand
cost
packaging_type
price
}
}
}
Variables
{
"data": {
"custom_box_id": "abc123",
"name": "abc123",
"barcode": "abc123",
"warehouse_id": "abc123",
"on_hand": 987,
"price": Decimal,
"active": true,
"dimensions": DimensionsInput,
"packaging_type": "abc123"
}
}
Response
{
"data": {
"custom_box_update": {
"request_id": "abc123",
"complexity": 987,
"custom_box": CustomBox
}
}
}