GET 3dCartWebAPI/v1/Products/{catalogid}/UpSelling
Get the upselling 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 UpSellingItem| Name | Description | Type | Additional information |
|---|---|---|---|
| UpSellingIndexID |
Primary key, auto-incremented. database reference = product_accessories.id |
integer |
None. |
| UpSellingItemID |
database reference = product_accessories.accessory_id |
integer |
None. |
| UpSellingItemSorting |
database reference = product_accessories.sorting |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"UpSellingIndexID": 1,
"UpSellingItemID": 1,
"UpSellingItemSorting": 1
},
{
"UpSellingIndexID": 1,
"UpSellingItemID": 1,
"UpSellingItemSorting": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfUpSellingItem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<UpSellingItem>
<UpSellingIndexID>1</UpSellingIndexID>
<UpSellingItemID>1</UpSellingItemID>
<UpSellingItemSorting>1</UpSellingItemSorting>
</UpSellingItem>
<UpSellingItem>
<UpSellingIndexID>1</UpSellingIndexID>
<UpSellingItemID>1</UpSellingItemID>
<UpSellingItemSorting>1</UpSellingItemSorting>
</UpSellingItem>
</ArrayOfUpSellingItem>