inventory shaker (http://api.3plcentral.com/rels/inventory/shaker)
Resource:
change trackbys and saved elements on inventory
C# Rel Const:
Rels.InventorySvc.Shaker
URI template:
shaker
Obtain URI from:
To Shake (i.e., to edit) trackbys and saved elements on confirmed inventory. Such inventory is thereafter Shaken, not Stirred!
Success status: 204
none
Type Description
ReceiveItemIds IEnumerable<int> the inventory items to be affected
LotNumber string LotNumber = null means leave value unchanged; LotNumber = "" means clear value; LotNumber = "43a" means set value to "43a"
SerialNumber string SerialNumber = null means leave value unchanged; SerialNumber = "" means clear value; SerialNumber = "9876" means set value to "9876"
SetExpirationDateToNull bool ExpirationDate = null and SetExpirationDateToNull = false means leave the value unchanged; ExpirationDate = any value and SetExpirationDateToNull = true means clear value; ExpirationDate = "2020/02/05" and SetExpirationDateToNull = false means set value to "2020/02/05"
ExpirationDate DateTime? ...
SetCostToNull bool Cost = null and SetCostToNull = false means leave the value unchanged; Cost = any value and SetCostToNull = true means clear value; Cost = 2.50 and SetCostToNull = false means set value to 2.50
Cost decimal? ...
SupplierIdentifier Generic.Models.ContactIdentifier SupplierIdentifier = null means leave the value unchanged; SupplierIdentifier = { id = 0, name = null } means clear the value; SupplierIdentifier = { id = 27, name = "MyCompany" } means set value to 27
Name string
Id int
SavedElementsToAddOrUpdate IEnumerable<Generic.Models.SavedElement>
Name string
Value string
SavedElementNamesToDelete IEnumerable<string>
Sample content-type: application/hal+json
{
  "receiveItemIds": [
    1
  ],
  "lotNumber": "str",
  "serialNumber": "str",
  "setExpirationDateToNull": true,
  "expirationDate": "2016-12-25T23:00:00",
  "setCostToNull": true,
  "cost": 1.0,
  "supplierIdentifier": {
    "name": "str",
    "id": 2
  },
  "savedElementsToAddOrUpdate": [
    {
      "name": "str",
      "value": "str"
    }
  ],
  "savedElementNamesToDelete": [
    "str"
  ]
}

This documentation is subject to change, and is updated often and without warning. The models documented may or may not be available to users now or in the future. Use this documentation at your own risk.
Contact api@3plcentral.com with any questions about this documentation.