GET v1/ProductGroups/{productGroupId}/Products

Get a list with all Products in given ProductGroup.

Request Information

Requires Authorization!

URI Parameters

NameDescriptionTypeAdditional information
productGroupId

The id of the product 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: 100

Name

Gets or sets the name.

string

Max length: 400

Hscode

Gets or sets the Harmonized System Code.

string

Max length: 20

EAN

Gets or sets the European Article Number.

string

Max length: 20

Type

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

integer

None.

ChangedTimestamp

Gets the changed timestamp.

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Code": "sample string 2",
    "Name": "sample string 3",
    "Hscode": "sample string 4",
    "EAN": "sample string 5",
    "Type": 6,
    "ChangedTimestamp": "2021-12-02T20:19:35.9510568+01:00"
  },
  {
    "Id": 1,
    "Code": "sample string 2",
    "Name": "sample string 3",
    "Hscode": "sample string 4",
    "EAN": "sample string 5",
    "Type": 6,
    "ChangedTimestamp": "2021-12-02T20:19:35.9510568+01:00"
  }
]

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>
    <Hscode>sample string 4</Hscode>
    <EAN>sample string 5</EAN>
    <Type>6</Type>
    <ChangedTimestamp>2021-12-02T20:19:35.9510568+01:00</ChangedTimestamp>
  </ProductBasicInfo>
  <ProductBasicInfo>
    <Id>1</Id>
    <Code>sample string 2</Code>
    <Name>sample string 3</Name>
    <Hscode>sample string 4</Hscode>
    <EAN>sample string 5</EAN>
    <Type>6</Type>
    <ChangedTimestamp>2021-12-02T20:19:35.9510568+01:00</ChangedTimestamp>
  </ProductBasicInfo>
</ArrayOfProductBasicInfo>