GET v1/ShopOwners/{shopOwnerId}/ShopGroups
Get all ShopGroups for the ShopOwner.
Request Information
Requires Authorization!
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
shopOwnerId |
The id of the ShopOwner |
integer |
Required. |
Body Parameters
None.
Response Information
Resource Description
A list of the ShopGroupBasicInfo objects.
Collection of ShopGroupBasicInfo
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 |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Name": "sample string 2", "ShopOwnerId": 3 }, { "Id": 1, "Name": "sample string 2", "ShopOwnerId": 3 } ]
application/xml, text/xml
Sample:
<ArrayOfShopGroupBasicInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ShopGroupBasicInfo> <Id>1</Id> <Name>sample string 2</Name> <ShopOwnerId>3</ShopOwnerId> </ShopGroupBasicInfo> <ShopGroupBasicInfo> <Id>1</Id> <Name>sample string 2</Name> <ShopOwnerId>3</ShopOwnerId> </ShopGroupBasicInfo> </ArrayOfShopGroupBasicInfo>