FieldEx Developer
developer notes

Update Asset Qty in User Bin

The AssetQtyUpdateInUserBin API allows you to update the quantity of Assets in the user bin. The request body includes inventory item information, bin information, and other relevant information.

Method Endpoint
PUT {{endpoint}}/api/inventories/ext/adjust

Headers

Key Value
Content-Type application/json
Authorization Bearer{{token}}

Example Request

{
  "inventoryItemVMS": [
    {
      "id": 106,
      "inventoryNumber": I-000015,
      "qty": 22,
      "reOrderPoint": null,
      "underStock": null,
      "notes": null,
      "product": null,
      "assets": {
        "id": 17,
        "name": KPA14,
        "runningNo": AST-000017,
        "serialNo": KPA14,
        "externalId": null
      },
      "user": null,
      "bin": {
        "id": 3,
        "name": Store Bin B,
        "displayName": Store Bin B,
        "shortCode": Store Bin B,
        "binNumber": BI-000003,
        "zoneId": 1,
        "zoneNumber": ZO-000001,
        "zoneShortCode": KL,
        "user": null,
        "wareHouseLocationId": 1,
        "wareHouseLocationNumber": LOC-000001,
        "wareHouseLocationShortCode": MY,
        "qty": null,
        "externalId": null
      },
      "zone": {
        "id": 1,
        "name": KL,
        "displayName": MY-KL,
        "shortCode": KL,
        "zoneNumber": ZO-000001,
        "wareHouseLocationNumber": LOC-000001,
        "wareHouseLocationShortCode": MY,
        "externalId": null,
        "storeManager": {
          "id": 1,
          "firstName": hari,
          "superVisorName": null,
          "userType": null,
          "imageUrl": https://s3.us-west-2.amazonaws.com/prod-springapp/custella_2/user_1/1649422638372-16494226383608989205184085673596.jpg,
          "fullName": hari prashanth
        },
        "userGroup": null
      },
      "productMeasureUnit": null,
      "wareHouseLocation": {
        "id": 1,
        "name": MY,
        "shortCode": MY,
        "address": Suria KLCC, 241, Suria KLCC, Kuala Lumpur City Centre, 50088 Kuala Lumpur, Wilayah Persekutuan Kuala Lumpur, Malaysia,
        "locationNumber": LOC-000001,
        "externalId": null,
        "storeManager": {
          "id": 1,
          "firstName": hari,
          "superVisorName": null,
          "userType": null,
          "imageUrl": https://s3.us-west-2.amazonaws.com/prod-springapp/custella_2/user_1/1649422638372-16494226383608989205184085673596.jpg,
          "fullName": hari prashanth
        },
        "userGroup": null
      },
      "combinationName": LOC-000001-ZO-000001-BI-000003,
      "newQty": null,
      "type": LOCATION,
      "qtyTransfer": 0,
      "productName": null,
      "adjQty": 22,
      "newQtyIn": null,
      "newQtyOut": null,
      "assetName": {
        "id": 17,
        "name": KPA14,
        "runningNo": AST-000017,
        "serialNo": KPA14,
        "externalId": null
      }
    }
  ]
}

Example Response

{SOME CODE}