GET v1/ShopGroup/{shopGroupId}/Products

Get a list with all available Products, for given shop group.

Request Information

Requires Authorization!

URI Parameters

NameDescriptionTypeAdditional information
shopGroupId

The id of the shop group.

integer

Required.

pageSize

Size of the page.

integer

Is Optional.

Default value is 1000.

pageNumber

The page number.

integer

Is Optional.

Default value is 1.

Body Parameters

None.

Response Information

Resource Description

A list of the ProductBasicInfo object.


Collection of ProductBasicInfo
NameDescriptionTypeAdditional information
Id

Gets or sets the identifier.

integer

Required

Code

Gets or sets the code.

string

Required

Max length: 50

Name

Gets or sets the name.

string

Max length: 400

Type

The ProductType, available: SimpleProduct = 0, ProductVariantParent = 1, ProductVariant = 2

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Code": "sample string 2",
    "Name": "sample string 3",
    "Type": 4
  },
  {
    "Id": 1,
    "Code": "sample string 2",
    "Name": "sample string 3",
    "Type": 4
  }
]

application/xml, text/xml

Sample:
<ArrayOfProductBasicInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ProductBasicInfo>
    <Id>1</Id>
    <Code>sample string 2</Code>
    <Name>sample string 3</Name>
    <Type>4</Type>
  </ProductBasicInfo>
  <ProductBasicInfo>
    <Id>1</Id>
    <Code>sample string 2</Code>
    <Name>sample string 3</Name>
    <Type>4</Type>
  </ProductBasicInfo>
</ArrayOfProductBasicInfo>