GET 3dCartWebAPI/v1/Products/{catalogid}/Related


Get the related products from a specific Product

Request Information

URI Parameters

NameDescriptionTypeAdditional information
catalogid

Catalog ID

integer

Default value is 0

limit

Maximum number of items that can be returned

integer

Default value is 0

offset

Starting point for the return data

integer

Default value is 0

Body Parameters

None.


Sample Request



Response Information

Resource Description

Collection of RelatedProduct
NameDescriptionTypeAdditional information
RelatedIndexID

Primary key, auto-incremented. database reference = product_related.id

integer

None.

RelatedProductID

database reference = product_related.related_id

integer

None.

RelatedProductSorting

database reference = product_related.sorting

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "RelatedIndexID": 1,
    "RelatedProductID": 1,
    "RelatedProductSorting": 2
  },
  {
    "RelatedIndexID": 1,
    "RelatedProductID": 1,
    "RelatedProductSorting": 2
  }
]

application/xml, text/xml

Sample:
<ArrayOfRelatedProduct xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <RelatedProduct>
    <RelatedIndexID>1</RelatedIndexID>
    <RelatedProductID>1</RelatedProductID>
    <RelatedProductSorting>2</RelatedProductSorting>
  </RelatedProduct>
  <RelatedProduct>
    <RelatedIndexID>1</RelatedIndexID>
    <RelatedProductID>1</RelatedProductID>
    <RelatedProductSorting>2</RelatedProductSorting>
  </RelatedProduct>
</ArrayOfRelatedProduct>