Creating products
POSThttps://ecc123456789012345.servicebus.windows.net/MyEbms/ABC/OData/INVENTRY
{
"ID": "DIRSHO",
"TREE_ID": "85",
"DESCR_1": "Dirt Shovel",
"COST": 12.42,
"BASE": 18.59
}
Updating products
PATCHhttps://ecc123456789012345.servicebus.windows.net/MyEbms/ABC/OData/INVENTRY('061PBSEDENMPC801')
{
"DESCR_1": "Dirt Shovel",
"UPC": "1234567890"
}
Getting the price of a product
GET
NATURALKEY: https://ecc123456789012345.servicebus.windows.net/MyEbms/ABC/OData/INVENTRY(ID='BANANAS')/Model.Entities.GetPrice
GUID: https://ecc123456789012345.servicebus.windows.net/MyEbms/ABC/OData/INVENTRY(50313630-5342-4445-454e-d5043383031)/Model.Entities.GetPrice
EBMS AUTOID: https://ecc123456789012345.servicebus.windows.net/MyEbms/ABC/OData/INVENTRY('061PBSEDENMPC801')/Model.Entities.GetPrice
{
"PriceLevel": "Wholesale",
"Uom": "cs",
"CustomerId": "AMERET",
"Quantity": 10
}
Adjusting Inventory
POSThttps://ecc123456789012345.servicebus.windows.net/MyEbms/ABC/OData/INVENTRY('PBRUSHS')/Model.Entities.Adjustments
{
"Warehouse": "LOCB", //Default warehouse will be used if not specified.
"AdjustmentQuantity": 3, //Adjust the current on hand up or down.
"NewQuantity": 3, //Alternative option to AdjustmentQuantity and sets On Hand.
"Date": "20241127", //Not required. Today's date will be used in not specified.
"UnitValue": 15, //Not required. Only used when increasing value.
"Description": "Sample Description" //Not required.
}