GET GetStockDataByVendorId?VendorId={VendorId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| VendorId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of GetStocklistItemsByVendorId_Result| 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. |
|
| ProductCategoryName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"DateCreated": "2025-12-11T12:06:04.4990738+02:00",
"LastModified": "2025-12-11T12:06:04.4990738+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:06:04.4990738+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,
"ProductCategoryName": "sample string 25"
},
{
"id": 1,
"DateCreated": "2025-12-11T12:06:04.4990738+02:00",
"LastModified": "2025-12-11T12:06:04.4990738+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:06:04.4990738+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,
"ProductCategoryName": "sample string 25"
}
]
application/xml, text/xml
Sample:
<ArrayOfGetStocklistItemsByVendorId_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BonaMarketAPI.Database">
<GetStocklistItemsByVendorId_Result>
<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:06:04.4990738+02:00</DateCreated>
<Description>sample string 16</Description>
<ExpiryDate>2025-12-11T12:06:04.4990738+02:00</ExpiryDate>
<HasVat>true</HasVat>
<ImageFileName>sample string 22</ImageFileName>
<ImageFileType>sample string 21</ImageFileType>
<LastModified>2025-12-11T12:06:04.4990738+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>
<ProductCategoryName>sample string 25</ProductCategoryName>
<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>
</GetStocklistItemsByVendorId_Result>
<GetStocklistItemsByVendorId_Result>
<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:06:04.4990738+02:00</DateCreated>
<Description>sample string 16</Description>
<ExpiryDate>2025-12-11T12:06:04.4990738+02:00</ExpiryDate>
<HasVat>true</HasVat>
<ImageFileName>sample string 22</ImageFileName>
<ImageFileType>sample string 21</ImageFileType>
<LastModified>2025-12-11T12:06:04.4990738+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>
<ProductCategoryName>sample string 25</ProductCategoryName>
<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>
</GetStocklistItemsByVendorId_Result>
</ArrayOfGetStocklistItemsByVendorId_Result>