warehouse_product_update

Arguments

ArgumentTypeRequiredDefaultDescription
dataUpdateWarehouseProductInput!Yes

Return Type

WarehouseProductMutationOutput

Mutation

mutation warehouse_product_update(
  $data: UpdateWarehouseProductInput!
) {
  warehouse_product_update(
    data: $data
  ) {
    request_id
    complexity
    warehouse_product {
      ...WarehouseProductFragment
    }
  }
}

Variables

{
  "data": {
    "customer_account_id": "abc123",
    "sku": "abc123",
    "warehouse_id": "abc123",
    "on_hand": 987,
    "price": Decimal,
    "value": "abc123",
    "value_currency": "abc123",
    "inventory_bin": "abc123",
    "inventory_overstock_bin": "abc123",
    "reserve_inventory": 987,
    "replenishment_level": 987,
    "replenishment_max_level": 987,
    "replenishment_increment": 987,
    "reorder_amount": 987,
    "reorder_level": 987,
    "customs_value": Decimal,
    "active": true
  }
}

Response

{
  "data": {
    "warehouse_product_update": {
      "request_id": "abc123",
      "complexity": 987,
      "warehouse_product": WarehouseProduct
    }
  }
}