FieldEx Developer
developer notes

Update Asset Qty in Location Bin

The AssetQtyUpdateInLocationBin API updates the quantity of assets in the Location bin. The request body includes inventory item information, bin details, and other relevant data.

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

Headers

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

Example Request

{
  "inventoryItemVMS": [
    {
        "id": 112,
        "inventoryNumber": I-000007,
        "qty": 17,
        "reOrderPoint": null,
        "underStock": null,
        "notes": null,
        "product": null,
        "assets": {
          "id": 5,
          "name": FCL8,
          "runningNo": AST-000005,
          "serialNo": FCL8,
          "externalId": null
        },
        "user": null,
        "bin": {
          "id": 1,
          "name": Store Bin A,
          "displayName": Store Bin,
          "shortCode": Store Bin,
          "binNumber": BI-000001,
          "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-000001,
        "newQty": 3,
        "type": LOCATION,
        "qtyTransfer": 0,
        "productName": null,
        "adjQty": 20,
        "newQtyIn": 3,
        "newQtyOut": null,
        "assetName": {
          "id": 5,
          "name": FCL8,
          "runningNo": AST-000005,
          "serialNo": FCL8,
          "externalId": null
        }
    }
  ]
}



Example Response

{SOME CODE}