GET v1/Shops/{shopId}/ActiveProductSelectionProducts
Get a list with all Products which are available for given Shop.
Request Information
Requires Authorization!
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| shopId | integer |
Required. |
Body Parameters
None.
Response Information
Resource Description
A list of the ProductSelectionProductBasicInfo objects
Collection of ProductSelectionProductBasicInfo
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Gets or sets the identifier. |
integer |
Required |
| Active |
Gets or sets a value indicating whether this is active. |
boolean |
Required |
| ProductId |
Gets or sets the product identifier. |
integer |
Required |
| ProductCode |
Gets or sets the product code. |
string |
None. |
| ForeignPriceExVAT |
Gets or sets the foreign price (exclude VAT). |
decimal number |
None. |
| ForeignPriceIncVAT |
Gets or sets the foreign price (include VAT). |
decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Active": true,
"ProductId": 3,
"ProductCode": "sample string 4",
"ForeignPriceExVAT": 1.0,
"ForeignPriceIncVAT": 1.0
},
{
"Id": 1,
"Active": true,
"ProductId": 3,
"ProductCode": "sample string 4",
"ForeignPriceExVAT": 1.0,
"ForeignPriceIncVAT": 1.0
}
]
application/xml, text/xml
Sample:
<ArrayOfProductSelectionProductBasicInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ProductSelectionProductBasicInfo>
<Id>1</Id>
<Active>true</Active>
<ProductId>3</ProductId>
<ProductCode>sample string 4</ProductCode>
<ForeignPriceExVAT>1</ForeignPriceExVAT>
<ForeignPriceIncVAT>1</ForeignPriceIncVAT>
</ProductSelectionProductBasicInfo>
<ProductSelectionProductBasicInfo>
<Id>1</Id>
<Active>true</Active>
<ProductId>3</ProductId>
<ProductCode>sample string 4</ProductCode>
<ForeignPriceExVAT>1</ForeignPriceExVAT>
<ForeignPriceIncVAT>1</ForeignPriceIncVAT>
</ProductSelectionProductBasicInfo>
</ArrayOfProductSelectionProductBasicInfo>