GET v1/Shops/{shopId}/ProductSelections
Get a list with all available Product selections for given shop.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| shopId | integer |
Required. |
Body Parameters
None.
Response Information
Resource Description
A list of ProductSelection objects.
Collection of ProductSelection| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Gets or sets the identifier. |
integer |
Required |
| Name |
Gets or sets the name. |
string |
Required Max length: 50 |
| PriceOffsetAbsExVAT |
Gets or sets the absolute price offset (exclude VAT). |
decimal number |
None. |
| PriceOffsetPerc |
Gets or sets the price offset percent. |
decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"PriceOffsetAbsExVAT": 1.0,
"PriceOffsetPerc": 1.0
},
{
"Id": 1,
"Name": "sample string 2",
"PriceOffsetAbsExVAT": 1.0,
"PriceOffsetPerc": 1.0
}
]
application/xml, text/xml
Sample:
<ArrayOfProductSelection xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ProductSelection>
<Id>1</Id>
<Name>sample string 2</Name>
<PriceOffsetAbsExVAT>1</PriceOffsetAbsExVAT>
<PriceOffsetPerc>1</PriceOffsetPerc>
</ProductSelection>
<ProductSelection>
<Id>1</Id>
<Name>sample string 2</Name>
<PriceOffsetAbsExVAT>1</PriceOffsetAbsExVAT>
<PriceOffsetPerc>1</PriceOffsetPerc>
</ProductSelection>
</ArrayOfProductSelection>