GET 3dCartWebAPI/v1/Products/{catalogid}/Related
Get the related products from a specific Product
Request Information
URI Parameters
Name | Description | Type | Additional 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 RelatedProductName | Description | Type | Additional 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": 1 }, { "RelatedIndexID": 1, "RelatedProductID": 1, "RelatedProductSorting": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfRelatedProduct xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <RelatedProduct> <RelatedIndexID>1</RelatedIndexID> <RelatedProductID>1</RelatedProductID> <RelatedProductSorting>1</RelatedProductSorting> </RelatedProduct> <RelatedProduct> <RelatedIndexID>1</RelatedIndexID> <RelatedProductID>1</RelatedProductID> <RelatedProductSorting>1</RelatedProductSorting> </RelatedProduct> </ArrayOfRelatedProduct>