GET v1/Shops/{shopId}/DefaultProductSelection
Get the default Product selection 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.
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
}
application/xml, text/xml
Sample:
<ProductSelection xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Id>1</Id> <Name>sample string 2</Name> <PriceOffsetAbsExVAT>1</PriceOffsetAbsExVAT> <PriceOffsetPerc>1</PriceOffsetPerc> </ProductSelection>