GET v1/ShopGroup/{shopGroupId}/ProductBrands
Get a list with all available Product Brands, for given shop group.
Request Information
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 ProductBrand object.
Collection of ProductBrand| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Gets or sets the identifier. |
integer |
None. |
| Name |
Gets or sets the name. |
string |
None. |
| Ref1 |
Gets or sets the custom reference Ref1. |
string |
None. |
| Ref2 |
Gets or sets the custom reference Ref2. |
string |
None. |
| Enabled |
Gets or sets the enabled status. |
boolean |
None. |
| LogoFileId |
Gets or sets the ID of the Logo File. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"Ref1": "sample string 3",
"Ref2": "sample string 4",
"Enabled": true,
"LogoFileId": 1
},
{
"Id": 1,
"Name": "sample string 2",
"Ref1": "sample string 3",
"Ref2": "sample string 4",
"Enabled": true,
"LogoFileId": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfProductBrand xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ProductBrand>
<Id>1</Id>
<Name>sample string 2</Name>
<Ref1>sample string 3</Ref1>
<Ref2>sample string 4</Ref2>
<Enabled>true</Enabled>
<LogoFileId>1</LogoFileId>
</ProductBrand>
<ProductBrand>
<Id>1</Id>
<Name>sample string 2</Name>
<Ref1>sample string 3</Ref1>
<Ref2>sample string 4</Ref2>
<Enabled>true</Enabled>
<LogoFileId>1</LogoFileId>
</ProductBrand>
</ArrayOfProductBrand>