GET v1/ShopGroups/{shopGroupId}/Shops
Get a list with all available Shops, for given shop group.
Request Information
Requires Authorization!
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
shopGroupId |
The id of the Shop group. |
integer |
Required. |
Body Parameters
None.
Response Information
Resource Description
A list of the ShopBasicInfo objects.
Collection of ShopBasicInfo
Name | Description | Type | Additional information |
---|---|---|---|
Id |
Gets or sets the identifier. |
integer |
Required |
Name |
Gets or sets the name. |
string |
Required Max length: 50 |
ShopOwnerId |
Gets or sets the shop owner identifier. |
integer |
Required |
ShopGroupId |
Gets or sets the shop group identifier. |
integer |
Required |
Active |
Gets or sets a value indicating whether this |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Name": "sample string 2", "ShopOwnerId": 3, "ShopGroupId": 4, "Active": true }, { "Id": 1, "Name": "sample string 2", "ShopOwnerId": 3, "ShopGroupId": 4, "Active": true } ]
application/xml, text/xml
Sample:
<ArrayOfShopBasicInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ShopBasicInfo> <Id>1</Id> <Name>sample string 2</Name> <ShopOwnerId>3</ShopOwnerId> <ShopGroupId>4</ShopGroupId> <Active>true</Active> </ShopBasicInfo> <ShopBasicInfo> <Id>1</Id> <Name>sample string 2</Name> <ShopOwnerId>3</ShopOwnerId> <ShopGroupId>4</ShopGroupId> <Active>true</Active> </ShopBasicInfo> </ArrayOfShopBasicInfo>