POST AddUpdateInventoryItems
Request Information
URI Parameters
None.
Body Parameters
Inventory| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| DateCreated | date |
None. |
|
| LastCreated | date |
None. |
|
| ProductId | integer |
None. |
|
| ReceivingPrice | decimal number |
None. |
|
| VendorId | integer |
None. |
|
| ReceivingQty | decimal number |
None. |
|
| ExpiryDate | date |
None. |
|
| Visible | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"DateCreated": "2025-12-11T12:01:47.4810853+02:00",
"LastCreated": "2025-12-11T12:01:47.4810853+02:00",
"ProductId": 1,
"ReceivingPrice": 2.1,
"VendorId": 1,
"ReceivingQty": 3.1,
"ExpiryDate": "2025-12-11T12:01:47.4810853+02:00",
"Visible": true
}
application/xml, text/xml
Sample:
<Inventory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BonaMarketAPI.Database"> <DateCreated>2025-12-11T12:01:47.4810853+02:00</DateCreated> <ExpiryDate>2025-12-11T12:01:47.4810853+02:00</ExpiryDate> <LastCreated>2025-12-11T12:01:47.4810853+02:00</LastCreated> <ProductId>1</ProductId> <ReceivingPrice>2.1</ReceivingPrice> <ReceivingQty>3.1</ReceivingQty> <VendorId>1</VendorId> <Visible>true</Visible> <id>1</id> </Inventory>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>