POST v1/ServiceProducts/Products

Retrieves a list of Products that are linked to the provided ServiceProductIDs

Request Information

URI Parameters

None.

Body Parameters

Collection of ServiceProductIDs

Collection of integer

Request Formats

application/json, text/json

Sample:
[
  1,
  2
]

Response Information

Resource Description

List of Products grouped by the given ServiceProductIDs

ProductsByServiceProduct
NameDescriptionTypeAdditional information
ServiceProductId

ServiceProductId that corresponds to the collection of Products

integer

None.

Products

Collection of Products that correspond to the ServiceProductId

Collection of Product

None.

Response Formats

application/json, text/json

Sample:
{
  "ServiceProductId": 1,
  "Products": [
    {
      "OrderComment": "sample string 1",
      "UnClass": "sample string 2",
      "UnNumber": 1,
      "UnPackingGroup": 1,
      "MainImageChangedTimestamp": "2026-01-11T16:15:01.1069388+01:00",
      "SyncEnabled": true,
      "Properties": [
        {
          "CultureId": 1,
          "ShopId": 1,
          "ProductPropertyDefId": 1,
          "Code": "sample string 2",
          "Value": "sample string 3"
        },
        {
          "CultureId": 1,
          "ShopId": 1,
          "ProductPropertyDefId": 1,
          "Code": "sample string 2",
          "Value": "sample string 3"
        }
      ],
      "ShopGroupId": 4,
      "Note": "sample string 5",
      "RefCode": "sample string 6",
      "ProductBrand": {
        "Id": 1,
        "Name": "sample string 2",
        "Ref1": "sample string 3",
        "Ref2": "sample string 4",
        "Enabled": true,
        "LogoFileId": 1
      },
      "ProductVariantParentId": 1,
      "VariantInfo": "sample string 7",
      "CreationDate": "2026-01-11T16:15:01.1069388+01:00",
      "KeepStock": true,
      "IsShippable": true,
      "MinimumStock": 11.0,
      "MainImageFileId": 1,
      "QtyAvailable": 12.0,
      "QtyOnHand": 13.0,
      "QtyReserved": 14.0,
      "Published": true,
      "Weight": 1.0,
      "WeightUOMId": 1,
      "Height": 1.0,
      "SizeUOMId": 1,
      "Length": 1.0,
      "Width": 1.0,
      "Diameter": 1.0,
      "VolumeUOMId": 1,
      "Volume": 1.0,
      "PriceExVat": 16.0,
      "ProductPropertyDefSetId": 1,
      "TransportCategoryId": 1,
      "RequiresLotNumber": true,
      "RequiresExpiryDate": true,
      "RequiresSerialNumber": true,
      "IsGroupedProduct": true,
      "ExpiryWarningUnit": 1,
      "FirstExpiryWarning": 1,
      "SecondExpiryWarning": 1,
      "ProductGroups": [
        1,
        2
      ],
      "Resources": [
        {
          "Id": 1,
          "CultureId": 1,
          "FileId": 1,
          "File": {
            "CreatedTimestamp": "2026-01-11T16:15:01.1069388+01:00",
            "ChangedTimestamp": "2026-01-11T16:15:01.1069388+01:00",
            "FileLength": 3,
            "Checksum": "sample string 4",
            "Sequence": 5,
            "Base64Data": "sample string 6",
            "Id": 7,
            "Filename": "sample string 8"
          },
          "Name": "sample string 2",
          "Data": "sample string 3",
          "Sequence": 4,
          "ResourceType": 5,
          "ContentType": 6,
          "ChangedTimestamp": "2026-01-11T16:15:01.1069388+01:00",
          "CreatedTimestamp": "2026-01-11T16:15:01.1069388+01:00"
        },
        {
          "Id": 1,
          "CultureId": 1,
          "FileId": 1,
          "File": {
            "CreatedTimestamp": "2026-01-11T16:15:01.1069388+01:00",
            "ChangedTimestamp": "2026-01-11T16:15:01.1069388+01:00",
            "FileLength": 3,
            "Checksum": "sample string 4",
            "Sequence": 5,
            "Base64Data": "sample string 6",
            "Id": 7,
            "Filename": "sample string 8"
          },
          "Name": "sample string 2",
          "Data": "sample string 3",
          "Sequence": 4,
          "ResourceType": 5,
          "ContentType": 6,
          "ChangedTimestamp": "2026-01-11T16:15:01.1069388+01:00",
          "CreatedTimestamp": "2026-01-11T16:15:01.1069388+01:00"
        }
      ],
      "ProductRelations": [
        {
          "RelatedProductId": 1,
          "RelationType": 2,
          "Quantity": 3,
          "Sequence": 4
        },
        {
          "RelatedProductId": 1,
          "RelationType": 2,
          "Quantity": 3,
          "Sequence": 4
        }
      ],
      "ProductVariantPropertyDefIds": [
        1,
        2
      ],
      "ProductVariantIds": [
        1,
        2
      ],
      "OriginCountryId": 1,
      "OriginCountryCode": "sample string 18",
      "Id": 19,
      "Code": "sample string 20",
      "Name": "sample string 21",
      "Hscode": "sample string 22",
      "EAN": "sample string 23",
      "Type": 24,
      "IsLocked": true,
      "ChangedTimestamp": "2026-01-11T16:15:01.1069388+01:00"
    },
    {
      "OrderComment": "sample string 1",
      "UnClass": "sample string 2",
      "UnNumber": 1,
      "UnPackingGroup": 1,
      "MainImageChangedTimestamp": "2026-01-11T16:15:01.1069388+01:00",
      "SyncEnabled": true,
      "Properties": [
        {
          "CultureId": 1,
          "ShopId": 1,
          "ProductPropertyDefId": 1,
          "Code": "sample string 2",
          "Value": "sample string 3"
        },
        {
          "CultureId": 1,
          "ShopId": 1,
          "ProductPropertyDefId": 1,
          "Code": "sample string 2",
          "Value": "sample string 3"
        }
      ],
      "ShopGroupId": 4,
      "Note": "sample string 5",
      "RefCode": "sample string 6",
      "ProductBrand": {
        "Id": 1,
        "Name": "sample string 2",
        "Ref1": "sample string 3",
        "Ref2": "sample string 4",
        "Enabled": true,
        "LogoFileId": 1
      },
      "ProductVariantParentId": 1,
      "VariantInfo": "sample string 7",
      "CreationDate": "2026-01-11T16:15:01.1069388+01:00",
      "KeepStock": true,
      "IsShippable": true,
      "MinimumStock": 11.0,
      "MainImageFileId": 1,
      "QtyAvailable": 12.0,
      "QtyOnHand": 13.0,
      "QtyReserved": 14.0,
      "Published": true,
      "Weight": 1.0,
      "WeightUOMId": 1,
      "Height": 1.0,
      "SizeUOMId": 1,
      "Length": 1.0,
      "Width": 1.0,
      "Diameter": 1.0,
      "VolumeUOMId": 1,
      "Volume": 1.0,
      "PriceExVat": 16.0,
      "ProductPropertyDefSetId": 1,
      "TransportCategoryId": 1,
      "RequiresLotNumber": true,
      "RequiresExpiryDate": true,
      "RequiresSerialNumber": true,
      "IsGroupedProduct": true,
      "ExpiryWarningUnit": 1,
      "FirstExpiryWarning": 1,
      "SecondExpiryWarning": 1,
      "ProductGroups": [
        1,
        2
      ],
      "Resources": [
        {
          "Id": 1,
          "CultureId": 1,
          "FileId": 1,
          "File": {
            "CreatedTimestamp": "2026-01-11T16:15:01.1069388+01:00",
            "ChangedTimestamp": "2026-01-11T16:15:01.1069388+01:00",
            "FileLength": 3,
            "Checksum": "sample string 4",
            "Sequence": 5,
            "Base64Data": "sample string 6",
            "Id": 7,
            "Filename": "sample string 8"
          },
          "Name": "sample string 2",
          "Data": "sample string 3",
          "Sequence": 4,
          "ResourceType": 5,
          "ContentType": 6,
          "ChangedTimestamp": "2026-01-11T16:15:01.1069388+01:00",
          "CreatedTimestamp": "2026-01-11T16:15:01.1069388+01:00"
        },
        {
          "Id": 1,
          "CultureId": 1,
          "FileId": 1,
          "File": {
            "CreatedTimestamp": "2026-01-11T16:15:01.1069388+01:00",
            "ChangedTimestamp": "2026-01-11T16:15:01.1069388+01:00",
            "FileLength": 3,
            "Checksum": "sample string 4",
            "Sequence": 5,
            "Base64Data": "sample string 6",
            "Id": 7,
            "Filename": "sample string 8"
          },
          "Name": "sample string 2",
          "Data": "sample string 3",
          "Sequence": 4,
          "ResourceType": 5,
          "ContentType": 6,
          "ChangedTimestamp": "2026-01-11T16:15:01.1069388+01:00",
          "CreatedTimestamp": "2026-01-11T16:15:01.1069388+01:00"
        }
      ],
      "ProductRelations": [
        {
          "RelatedProductId": 1,
          "RelationType": 2,
          "Quantity": 3,
          "Sequence": 4
        },
        {
          "RelatedProductId": 1,
          "RelationType": 2,
          "Quantity": 3,
          "Sequence": 4
        }
      ],
      "ProductVariantPropertyDefIds": [
        1,
        2
      ],
      "ProductVariantIds": [
        1,
        2
      ],
      "OriginCountryId": 1,
      "OriginCountryCode": "sample string 18",
      "Id": 19,
      "Code": "sample string 20",
      "Name": "sample string 21",
      "Hscode": "sample string 22",
      "EAN": "sample string 23",
      "Type": 24,
      "IsLocked": true,
      "ChangedTimestamp": "2026-01-11T16:15:01.1069388+01:00"
    }
  ]
}

application/xml, text/xml

Sample:
<ProductsByServiceProduct xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ServiceProductId>1</ServiceProductId>
  <Products>
    <Product>
      <Id>19</Id>
      <Code>sample string 20</Code>
      <Name>sample string 21</Name>
      <Hscode>sample string 22</Hscode>
      <EAN>sample string 23</EAN>
      <Type>24</Type>
      <IsLocked>true</IsLocked>
      <ChangedTimestamp>2026-01-11T16:15:01.1069388+01:00</ChangedTimestamp>
      <ShopGroupId>4</ShopGroupId>
      <Note>sample string 5</Note>
      <RefCode>sample string 6</RefCode>
      <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>
      <ProductVariantParentId>1</ProductVariantParentId>
      <VariantInfo>sample string 7</VariantInfo>
      <CreationDate>2026-01-11T16:15:01.1069388+01:00</CreationDate>
      <KeepStock>true</KeepStock>
      <IsShippable>true</IsShippable>
      <MinimumStock>11</MinimumStock>
      <MainImageFileId>1</MainImageFileId>
      <QtyAvailable>12</QtyAvailable>
      <QtyOnHand>13</QtyOnHand>
      <QtyReserved>14</QtyReserved>
      <Published>true</Published>
      <Weight>1</Weight>
      <WeightUOMId>1</WeightUOMId>
      <Height>1</Height>
      <SizeUOMId>1</SizeUOMId>
      <Length>1</Length>
      <Width>1</Width>
      <Diameter>1</Diameter>
      <VolumeUOMId>1</VolumeUOMId>
      <Volume>1</Volume>
      <PriceExVat>16</PriceExVat>
      <ProductPropertyDefSetId>1</ProductPropertyDefSetId>
      <TransportCategoryId>1</TransportCategoryId>
      <RequiresLotNumber>true</RequiresLotNumber>
      <RequiresExpiryDate>true</RequiresExpiryDate>
      <RequiresSerialNumber>true</RequiresSerialNumber>
      <IsGroupedProduct>true</IsGroupedProduct>
      <ExpiryWarningUnit>Day</ExpiryWarningUnit>
      <FirstExpiryWarning>1</FirstExpiryWarning>
      <SecondExpiryWarning>1</SecondExpiryWarning>
      <ProductGroups>
        <ProductGroupId>1</ProductGroupId>
        <ProductGroupId>2</ProductGroupId>
      </ProductGroups>
      <Resources>
        <Resources>
          <Id>1</Id>
          <CultureId>1</CultureId>
          <FileId>1</FileId>
          <File>
            <Id>7</Id>
            <Filename>sample string 8</Filename>
            <CreatedTimestamp>2026-01-11T16:15:01.1069388+01:00</CreatedTimestamp>
            <ChangedTimestamp>2026-01-11T16:15:01.1069388+01:00</ChangedTimestamp>
            <FileLength>3</FileLength>
            <Checksum>sample string 4</Checksum>
            <Sequence>5</Sequence>
            <Base64Data>sample string 6</Base64Data>
          </File>
          <Name>sample string 2</Name>
          <Data>sample string 3</Data>
          <Sequence>4</Sequence>
          <ResourceType>5</ResourceType>
          <ContentType>6</ContentType>
          <ChangedTimestamp>2026-01-11T16:15:01.1069388+01:00</ChangedTimestamp>
          <CreatedTimestamp>2026-01-11T16:15:01.1069388+01:00</CreatedTimestamp>
        </Resources>
        <Resources>
          <Id>1</Id>
          <CultureId>1</CultureId>
          <FileId>1</FileId>
          <File>
            <Id>7</Id>
            <Filename>sample string 8</Filename>
            <CreatedTimestamp>2026-01-11T16:15:01.1069388+01:00</CreatedTimestamp>
            <ChangedTimestamp>2026-01-11T16:15:01.1069388+01:00</ChangedTimestamp>
            <FileLength>3</FileLength>
            <Checksum>sample string 4</Checksum>
            <Sequence>5</Sequence>
            <Base64Data>sample string 6</Base64Data>
          </File>
          <Name>sample string 2</Name>
          <Data>sample string 3</Data>
          <Sequence>4</Sequence>
          <ResourceType>5</ResourceType>
          <ContentType>6</ContentType>
          <ChangedTimestamp>2026-01-11T16:15:01.1069388+01:00</ChangedTimestamp>
          <CreatedTimestamp>2026-01-11T16:15:01.1069388+01:00</CreatedTimestamp>
        </Resources>
      </Resources>
      <ProductRelations>
        <ProductRelations>
          <RelatedProductId>1</RelatedProductId>
          <RelationType>2</RelationType>
          <Quantity>3</Quantity>
          <Sequence>4</Sequence>
        </ProductRelations>
        <ProductRelations>
          <RelatedProductId>1</RelatedProductId>
          <RelationType>2</RelationType>
          <Quantity>3</Quantity>
          <Sequence>4</Sequence>
        </ProductRelations>
      </ProductRelations>
      <ProductVariantPropertyDefIds>
        <ProductVariantPropertyDefIds>1</ProductVariantPropertyDefIds>
        <ProductVariantPropertyDefIds>2</ProductVariantPropertyDefIds>
      </ProductVariantPropertyDefIds>
      <ProductVariantIds>
        <ProductVariantIds>1</ProductVariantIds>
        <ProductVariantIds>2</ProductVariantIds>
      </ProductVariantIds>
      <OriginCountryId>1</OriginCountryId>
      <OriginCountryCode>sample string 18</OriginCountryCode>
      <OrderComment>sample string 1</OrderComment>
      <UnClass>sample string 2</UnClass>
      <UnNumber>1</UnNumber>
      <UnPackingGroup>1</UnPackingGroup>
      <MainImageChangedTimestamp>2026-01-11T16:15:01.1069388+01:00</MainImageChangedTimestamp>
      <SyncEnabled>true</SyncEnabled>
      <Properties>
        <Property>
          <CultureId>1</CultureId>
          <ShopId>1</ShopId>
          <ProductPropertyDefId>1</ProductPropertyDefId>
          <Code>sample string 2</Code>
          <Value>sample string 3</Value>
        </Property>
        <Property>
          <CultureId>1</CultureId>
          <ShopId>1</ShopId>
          <ProductPropertyDefId>1</ProductPropertyDefId>
          <Code>sample string 2</Code>
          <Value>sample string 3</Value>
        </Property>
      </Properties>
    </Product>
    <Product>
      <Id>19</Id>
      <Code>sample string 20</Code>
      <Name>sample string 21</Name>
      <Hscode>sample string 22</Hscode>
      <EAN>sample string 23</EAN>
      <Type>24</Type>
      <IsLocked>true</IsLocked>
      <ChangedTimestamp>2026-01-11T16:15:01.1069388+01:00</ChangedTimestamp>
      <ShopGroupId>4</ShopGroupId>
      <Note>sample string 5</Note>
      <RefCode>sample string 6</RefCode>
      <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>
      <ProductVariantParentId>1</ProductVariantParentId>
      <VariantInfo>sample string 7</VariantInfo>
      <CreationDate>2026-01-11T16:15:01.1069388+01:00</CreationDate>
      <KeepStock>true</KeepStock>
      <IsShippable>true</IsShippable>
      <MinimumStock>11</MinimumStock>
      <MainImageFileId>1</MainImageFileId>
      <QtyAvailable>12</QtyAvailable>
      <QtyOnHand>13</QtyOnHand>
      <QtyReserved>14</QtyReserved>
      <Published>true</Published>
      <Weight>1</Weight>
      <WeightUOMId>1</WeightUOMId>
      <Height>1</Height>
      <SizeUOMId>1</SizeUOMId>
      <Length>1</Length>
      <Width>1</Width>
      <Diameter>1</Diameter>
      <VolumeUOMId>1</VolumeUOMId>
      <Volume>1</Volume>
      <PriceExVat>16</PriceExVat>
      <ProductPropertyDefSetId>1</ProductPropertyDefSetId>
      <TransportCategoryId>1</TransportCategoryId>
      <RequiresLotNumber>true</RequiresLotNumber>
      <RequiresExpiryDate>true</RequiresExpiryDate>
      <RequiresSerialNumber>true</RequiresSerialNumber>
      <IsGroupedProduct>true</IsGroupedProduct>
      <ExpiryWarningUnit>Day</ExpiryWarningUnit>
      <FirstExpiryWarning>1</FirstExpiryWarning>
      <SecondExpiryWarning>1</SecondExpiryWarning>
      <ProductGroups>
        <ProductGroupId>1</ProductGroupId>
        <ProductGroupId>2</ProductGroupId>
      </ProductGroups>
      <Resources>
        <Resources>
          <Id>1</Id>
          <CultureId>1</CultureId>
          <FileId>1</FileId>
          <File>
            <Id>7</Id>
            <Filename>sample string 8</Filename>
            <CreatedTimestamp>2026-01-11T16:15:01.1069388+01:00</CreatedTimestamp>
            <ChangedTimestamp>2026-01-11T16:15:01.1069388+01:00</ChangedTimestamp>
            <FileLength>3</FileLength>
            <Checksum>sample string 4</Checksum>
            <Sequence>5</Sequence>
            <Base64Data>sample string 6</Base64Data>
          </File>
          <Name>sample string 2</Name>
          <Data>sample string 3</Data>
          <Sequence>4</Sequence>
          <ResourceType>5</ResourceType>
          <ContentType>6</ContentType>
          <ChangedTimestamp>2026-01-11T16:15:01.1069388+01:00</ChangedTimestamp>
          <CreatedTimestamp>2026-01-11T16:15:01.1069388+01:00</CreatedTimestamp>
        </Resources>
        <Resources>
          <Id>1</Id>
          <CultureId>1</CultureId>
          <FileId>1</FileId>
          <File>
            <Id>7</Id>
            <Filename>sample string 8</Filename>
            <CreatedTimestamp>2026-01-11T16:15:01.1069388+01:00</CreatedTimestamp>
            <ChangedTimestamp>2026-01-11T16:15:01.1069388+01:00</ChangedTimestamp>
            <FileLength>3</FileLength>
            <Checksum>sample string 4</Checksum>
            <Sequence>5</Sequence>
            <Base64Data>sample string 6</Base64Data>
          </File>
          <Name>sample string 2</Name>
          <Data>sample string 3</Data>
          <Sequence>4</Sequence>
          <ResourceType>5</ResourceType>
          <ContentType>6</ContentType>
          <ChangedTimestamp>2026-01-11T16:15:01.1069388+01:00</ChangedTimestamp>
          <CreatedTimestamp>2026-01-11T16:15:01.1069388+01:00</CreatedTimestamp>
        </Resources>
      </Resources>
      <ProductRelations>
        <ProductRelations>
          <RelatedProductId>1</RelatedProductId>
          <RelationType>2</RelationType>
          <Quantity>3</Quantity>
          <Sequence>4</Sequence>
        </ProductRelations>
        <ProductRelations>
          <RelatedProductId>1</RelatedProductId>
          <RelationType>2</RelationType>
          <Quantity>3</Quantity>
          <Sequence>4</Sequence>
        </ProductRelations>
      </ProductRelations>
      <ProductVariantPropertyDefIds>
        <ProductVariantPropertyDefIds>1</ProductVariantPropertyDefIds>
        <ProductVariantPropertyDefIds>2</ProductVariantPropertyDefIds>
      </ProductVariantPropertyDefIds>
      <ProductVariantIds>
        <ProductVariantIds>1</ProductVariantIds>
        <ProductVariantIds>2</ProductVariantIds>
      </ProductVariantIds>
      <OriginCountryId>1</OriginCountryId>
      <OriginCountryCode>sample string 18</OriginCountryCode>
      <OrderComment>sample string 1</OrderComment>
      <UnClass>sample string 2</UnClass>
      <UnNumber>1</UnNumber>
      <UnPackingGroup>1</UnPackingGroup>
      <MainImageChangedTimestamp>2026-01-11T16:15:01.1069388+01:00</MainImageChangedTimestamp>
      <SyncEnabled>true</SyncEnabled>
      <Properties>
        <Property>
          <CultureId>1</CultureId>
          <ShopId>1</ShopId>
          <ProductPropertyDefId>1</ProductPropertyDefId>
          <Code>sample string 2</Code>
          <Value>sample string 3</Value>
        </Property>
        <Property>
          <CultureId>1</CultureId>
          <ShopId>1</ShopId>
          <ProductPropertyDefId>1</ProductPropertyDefId>
          <Code>sample string 2</Code>
          <Value>sample string 3</Value>
        </Property>
      </Properties>
    </Product>
  </Products>
</ProductsByServiceProduct>