input UpdateCustomBoxInput
Fields
| Field | Type | Description |
|---|---|---|
custom_box_id | String! | Public API custom box ID that identifies the related record. |
name | String | If omitted or null, the current box name will be used. |
barcode | String | If omitted or null, the current barcode will be used. |
warehouse_id | String | If omitted or null, the current warehouse will be used. |
on_hand | Int | If omitted or null, the current on-hand quantity will be used. |
price | Decimal | If omitted or null, the current custom box price will be used. |
active | Boolean | If omitted or null, the current active state will be used. |
dimensions | DimensionsInput | If omitted or null, the current dimensions will be used. |
packaging_type | String | The packaging type for the custom box, for example BOX or MAILER. If omitted or null, the current packaging type will be used. |
Referenced By
- custom_box_update Mutation
Example
{
"custom_box_id": "Q3VzdG9tQm94OjEyMzQ=",
"name": "Acme Corp",
"barcode": "012345678905",
"warehouse_id": "V2FyZWhvdXNlOjEyMzQ=",
"on_hand": 2,
"price": 19.99,
"active": true,
"dimensions": {length: 12.5, width: 8.0, height: 4.0},
"packaging_type": "BOX"
}