POST v1/ShopGroups
Add a new ShopGroup for a ShopOwner.
Request Information
Requires Authorization!
URI Parameters
None.
Body Parameters
The ShopGroup changes object
ShopGroupChangesName | Description | Type | Additional information |
---|---|---|---|
IconFileId |
Gets or sets the icon file identifier. |
integer |
None. |
Id |
Gets or sets the identifier. |
integer |
Must be 0 |
Name |
Gets or sets the name. |
string |
Required Max length: 50 |
ShopOwnerId |
Gets or sets the shop owner identifier. |
integer |
Required |
Request Formats
application/json, text/json
Sample:
{ "IconFileId": 1, "Id": 1, "Name": "sample string 2", "ShopOwnerId": 3 }
application/xml, text/xml
Sample:
<ShopGroupChanges 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> <ShopOwnerId>3</ShopOwnerId> <IconFileId>1</IconFileId> </ShopGroupChanges>
Response Information
Resource Description
ShopGroup
Name | Description | Type | Additional information |
---|---|---|---|
IconFileId |
Gets or sets the icon file identifier. |
integer |
None. |
Id |
Gets or sets the identifier. |
integer |
Must be 0 |
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:
{ "IconFileId": 1, "Id": 1, "Name": "sample string 2", "ShopOwnerId": 3 }
application/xml, text/xml
Sample:
<ShopGroup 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> <ShopOwnerId>3</ShopOwnerId> <IconFileId>1</IconFileId> </ShopGroup>