lot_assign_to_location

Arguments

ArgumentTypeRequiredDefaultDescription
dataAssignLotToLocationInput!Yes

Return Type

AssignLotToLocationOutput

Mutation

mutation lot_assign_to_location(
  $data: AssignLotToLocationInput!
) {
  lot_assign_to_location(
    data: $data
  ) {
    request_id
    complexity
    warehouse_product {
      ...WarehouseProductFragment
    }
  }
}

Variables

{
  "data": {
    "lot_id": "abc123",
    "location_id": "abc123"
  }
}

Response

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