POST ModifyStock
Request Information
URI Parameters
None.
Body Parameters
StockList| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| DateCreated | date |
None. |
|
| LastModified | date |
None. |
|
| ProductName | string |
None. |
|
| UnitPrice | decimal number |
None. |
|
| Vat | decimal number |
None. |
|
| HasVat | boolean |
None. |
|
| MarkupPercentage | decimal number |
None. |
|
| VendorId | integer |
None. |
|
| SellingPrice | decimal number |
None. |
|
| BonaMarketFee | decimal number |
None. |
|
| BonaMarketVat | decimal number |
None. |
|
| MerchantVat | decimal number |
None. |
|
| BonaMarketAmount | decimal number |
None. |
|
| MerchantAmount | decimal number |
None. |
|
| MerchantMarkupAmount | decimal number |
None. |
|
| BonaMarketAmountNoVat | decimal number |
None. |
|
| Barcode | string |
None. |
|
| Description | string |
None. |
|
| ExpiryDate | date |
None. |
|
| ProductCategory | integer |
None. |
|
| Visible | boolean |
None. |
|
| MarkupValue | decimal number |
None. |
|
| MerchantMarkup | decimal number |
None. |
|
| ProductImage | string |
None. |
|
| ImageFileType | string |
None. |
|
| ImageFileName | string |
None. |
|
| Barcode2 | string |
None. |
|
| SubCategory | integer |
None. |
|
| isDeliverable | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"DateCreated": "2025-12-11T12:03:30.5666589+02:00",
"LastModified": "2025-12-11T12:03:30.5666589+02:00",
"ProductName": "sample string 2",
"UnitPrice": 3.1,
"Vat": 4.1,
"HasVat": true,
"MarkupPercentage": 6.1,
"VendorId": 1,
"SellingPrice": 7.1,
"BonaMarketFee": 8.1,
"BonaMarketVat": 9.1,
"MerchantVat": 10.1,
"BonaMarketAmount": 11.1,
"MerchantAmount": 12.1,
"MerchantMarkupAmount": 13.1,
"BonaMarketAmountNoVat": 14.1,
"Barcode": "sample string 15",
"Description": "sample string 16",
"ExpiryDate": "2025-12-11T12:03:30.5666589+02:00",
"ProductCategory": 1,
"Visible": true,
"MarkupValue": 18.1,
"MerchantMarkup": 19.1,
"ProductImage": "sample string 20",
"ImageFileType": "sample string 21",
"ImageFileName": "sample string 22",
"Barcode2": "sample string 23",
"SubCategory": 1,
"isDeliverable": true
}
application/xml, text/xml
Sample:
<StockList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BonaMarketAPI.Database"> <Barcode>sample string 15</Barcode> <Barcode2>sample string 23</Barcode2> <BonaMarketAmount>11.1</BonaMarketAmount> <BonaMarketAmountNoVat>14.1</BonaMarketAmountNoVat> <BonaMarketFee>8.1</BonaMarketFee> <BonaMarketVat>9.1</BonaMarketVat> <DateCreated>2025-12-11T12:03:30.5666589+02:00</DateCreated> <Description>sample string 16</Description> <ExpiryDate>2025-12-11T12:03:30.5666589+02:00</ExpiryDate> <HasVat>true</HasVat> <ImageFileName>sample string 22</ImageFileName> <ImageFileType>sample string 21</ImageFileType> <LastModified>2025-12-11T12:03:30.5666589+02:00</LastModified> <MarkupPercentage>6.1</MarkupPercentage> <MarkupValue>18.1</MarkupValue> <MerchantAmount>12.1</MerchantAmount> <MerchantMarkup>19.1</MerchantMarkup> <MerchantMarkupAmount>13.1</MerchantMarkupAmount> <MerchantVat>10.1</MerchantVat> <ProductCategory>1</ProductCategory> <ProductImage>sample string 20</ProductImage> <ProductName>sample string 2</ProductName> <SellingPrice>7.1</SellingPrice> <SubCategory>1</SubCategory> <UnitPrice>3.1</UnitPrice> <Vat>4.1</Vat> <VendorId>1</VendorId> <Visible>true</Visible> <id>1</id> <isDeliverable>true</isDeliverable> </StockList>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.