GET v1/Products/{productId}/ProductSelectionProducts
Get all Product Selection Products.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| productId |
The id of the product. |
integer |
Required. |
Body Parameters
None.
Response Information
Resource Description
A collection of product selection products.
Collection of ProductSelectionProduct| Name | Description | Type | Additional information |
|---|---|---|---|
| VATTariffId |
Gets or sets the VAT tariff identifier. |
integer |
Required |
| ProductSelectionId |
Gets or sets the product selection identifier. |
integer |
Required |
| ShopId |
Gets the ShopId of the ProductSelection. |
integer |
None. |
| PriceExVAT |
Gets or sets the price (exclude VAT). |
decimal number |
Required |
| SpecialPriceExVAT |
Gets or sets the special price (exclude VAT). |
decimal number |
None. |
| ExchangeRate |
Gets or sets the exchange rate. |
decimal number |
Required |
| DisableRecalculate |
Gets or sets a value indicating whether the recalculation is disabled. |
boolean |
Required |
| Id |
Gets or sets the identifier. |
integer |
Required |
| Active |
Gets or sets a value indicating whether this <see cref="T:ShopCtrl.API.Models.ProductSelectionProductBasicInfo" /> 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 |
Required |
| ForeignPriceIncVAT |
Gets or sets the foreign price (include VAT). |
decimal number |
Required |
| QtyAvailable |
Gets or sets the qty available. |
decimal number |
Required |
| QtyOnHand |
Gets or sets the qty on hand. |
decimal number |
Required |
| QtyReserved |
Gets or sets the qty reserved. |
decimal number |
Required |
Response Formats
application/json, text/json
[
{
"VATTariffId": 1,
"ProductSelectionId": 2,
"ShopId": 3,
"PriceExVAT": 1.0,
"SpecialPriceExVAT": 1.0,
"ExchangeRate": 1.0,
"DisableRecalculate": true,
"Id": 5,
"Active": true,
"ProductId": 7,
"ProductCode": "sample string 8",
"ForeignPriceExVAT": 1.0,
"ForeignPriceIncVAT": 1.0,
"QtyAvailable": 9.0,
"QtyOnHand": 10.0,
"QtyReserved": 11.0
},
{
"VATTariffId": 1,
"ProductSelectionId": 2,
"ShopId": 3,
"PriceExVAT": 1.0,
"SpecialPriceExVAT": 1.0,
"ExchangeRate": 1.0,
"DisableRecalculate": true,
"Id": 5,
"Active": true,
"ProductId": 7,
"ProductCode": "sample string 8",
"ForeignPriceExVAT": 1.0,
"ForeignPriceIncVAT": 1.0,
"QtyAvailable": 9.0,
"QtyOnHand": 10.0,
"QtyReserved": 11.0
}
]
application/xml, text/xml
<ArrayOfProductSelectionProduct xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ProductSelectionProduct>
<Id>5</Id>
<Active>true</Active>
<ProductId>7</ProductId>
<ProductCode>sample string 8</ProductCode>
<ForeignPriceExVAT>1</ForeignPriceExVAT>
<ForeignPriceIncVAT>1</ForeignPriceIncVAT>
<QtyAvailable>9</QtyAvailable>
<QtyOnHand>10</QtyOnHand>
<QtyReserved>11</QtyReserved>
<VATTariffId>1</VATTariffId>
<ProductSelectionId>2</ProductSelectionId>
<ShopId>3</ShopId>
<PriceExVAT>1</PriceExVAT>
<SpecialPriceExVAT>1</SpecialPriceExVAT>
<ExchangeRate>1</ExchangeRate>
<DisableRecalculate>true</DisableRecalculate>
</ProductSelectionProduct>
<ProductSelectionProduct>
<Id>5</Id>
<Active>true</Active>
<ProductId>7</ProductId>
<ProductCode>sample string 8</ProductCode>
<ForeignPriceExVAT>1</ForeignPriceExVAT>
<ForeignPriceIncVAT>1</ForeignPriceIncVAT>
<QtyAvailable>9</QtyAvailable>
<QtyOnHand>10</QtyOnHand>
<QtyReserved>11</QtyReserved>
<VATTariffId>1</VATTariffId>
<ProductSelectionId>2</ProductSelectionId>
<ShopId>3</ShopId>
<PriceExVAT>1</PriceExVAT>
<SpecialPriceExVAT>1</SpecialPriceExVAT>
<ExchangeRate>1</ExchangeRate>
<DisableRecalculate>true</DisableRecalculate>
</ProductSelectionProduct>
</ArrayOfProductSelectionProduct>