GET GetProductBarcodeBymerchantidAndProductId?UserId={UserId}&ProductId={ProductId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
Required |
|
| ProductId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of 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. |
|
| merchantid | integer |
None. |
|
| SellingPrice | decimal number |
None. |
|
| CompanyFee | decimal number |
None. |
|
| CompanyVat | decimal number |
None. |
|
| MerchantVat | decimal number |
None. |
|
| CompanyAmount | decimal number |
None. |
|
| MerchantAmount | decimal number |
None. |
|
| MerchantMarkupAmount | decimal number |
None. |
|
| CompanyAmountNoVat | decimal number |
None. |
|
| Barcode | string |
None. |
|
| Description | string |
None. |
|
| MarkupValue | decimal number |
None. |
|
| Visible | boolean |
None. |
|
| ProductCategory | integer |
None. |
|
| MerchantMarkup | decimal number |
None. |
|
| ProductImage | string |
None. |
|
| ImageFileType | string |
None. |
|
| ImageFileName | string |
None. |
|
| Barcode2 | string |
None. |
|
| ExpiryDate | date |
None. |
|
| Image | Collection of byte |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"DateCreated": "2026-02-17T16:15:07.0106829+02:00",
"LastModified": "2026-02-17T16:15:07.0106829+02:00",
"ProductName": "sample string 2",
"UnitPrice": 3.1,
"Vat": 4.1,
"HasVat": true,
"MarkupPercentage": 6.1,
"merchantid": 1,
"SellingPrice": 7.1,
"CompanyFee": 8.1,
"CompanyVat": 9.1,
"MerchantVat": 10.1,
"CompanyAmount": 11.1,
"MerchantAmount": 12.1,
"MerchantMarkupAmount": 13.1,
"CompanyAmountNoVat": 14.1,
"Barcode": "sample string 15",
"Description": "sample string 16",
"MarkupValue": 17.1,
"Visible": true,
"ProductCategory": 1,
"MerchantMarkup": 19.1,
"ProductImage": "sample string 20",
"ImageFileType": "sample string 21",
"ImageFileName": "sample string 22",
"Barcode2": "sample string 23",
"ExpiryDate": "2026-02-17T16:15:07.0106829+02:00",
"Image": "QEA="
},
{
"id": 1,
"DateCreated": "2026-02-17T16:15:07.0106829+02:00",
"LastModified": "2026-02-17T16:15:07.0106829+02:00",
"ProductName": "sample string 2",
"UnitPrice": 3.1,
"Vat": 4.1,
"HasVat": true,
"MarkupPercentage": 6.1,
"merchantid": 1,
"SellingPrice": 7.1,
"CompanyFee": 8.1,
"CompanyVat": 9.1,
"MerchantVat": 10.1,
"CompanyAmount": 11.1,
"MerchantAmount": 12.1,
"MerchantMarkupAmount": 13.1,
"CompanyAmountNoVat": 14.1,
"Barcode": "sample string 15",
"Description": "sample string 16",
"MarkupValue": 17.1,
"Visible": true,
"ProductCategory": 1,
"MerchantMarkup": 19.1,
"ProductImage": "sample string 20",
"ImageFileType": "sample string 21",
"ImageFileName": "sample string 22",
"Barcode2": "sample string 23",
"ExpiryDate": "2026-02-17T16:15:07.0106829+02:00",
"Image": "QEA="
}
]
application/xml, text/xml
Sample:
<ArrayOfstocklist xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZakaPayAPI.Database">
<stocklist>
<Barcode>sample string 15</Barcode>
<Barcode2>sample string 23</Barcode2>
<CompanyAmount>11.1</CompanyAmount>
<CompanyAmountNoVat>14.1</CompanyAmountNoVat>
<CompanyFee>8.1</CompanyFee>
<CompanyVat>9.1</CompanyVat>
<DateCreated>2026-02-17T16:15:07.0106829+02:00</DateCreated>
<Description>sample string 16</Description>
<ExpiryDate>2026-02-17T16:15:07.0106829+02:00</ExpiryDate>
<HasVat>true</HasVat>
<Image>QEA=</Image>
<ImageFileName>sample string 22</ImageFileName>
<ImageFileType>sample string 21</ImageFileType>
<LastModified>2026-02-17T16:15:07.0106829+02:00</LastModified>
<MarkupPercentage>6.1</MarkupPercentage>
<MarkupValue>17.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>
<UnitPrice>3.1</UnitPrice>
<Vat>4.1</Vat>
<Visible>true</Visible>
<id>1</id>
<merchantid>1</merchantid>
</stocklist>
<stocklist>
<Barcode>sample string 15</Barcode>
<Barcode2>sample string 23</Barcode2>
<CompanyAmount>11.1</CompanyAmount>
<CompanyAmountNoVat>14.1</CompanyAmountNoVat>
<CompanyFee>8.1</CompanyFee>
<CompanyVat>9.1</CompanyVat>
<DateCreated>2026-02-17T16:15:07.0106829+02:00</DateCreated>
<Description>sample string 16</Description>
<ExpiryDate>2026-02-17T16:15:07.0106829+02:00</ExpiryDate>
<HasVat>true</HasVat>
<Image>QEA=</Image>
<ImageFileName>sample string 22</ImageFileName>
<ImageFileType>sample string 21</ImageFileType>
<LastModified>2026-02-17T16:15:07.0106829+02:00</LastModified>
<MarkupPercentage>6.1</MarkupPercentage>
<MarkupValue>17.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>
<UnitPrice>3.1</UnitPrice>
<Vat>4.1</Vat>
<Visible>true</Visible>
<id>1</id>
<merchantid>1</merchantid>
</stocklist>
</ArrayOfstocklist>