REST API - Get product cross sell data category (until 7.8)

URI

/categories/<cat_ID>/products/<sku>/crosssells

Http Method

GET

Short Description

Get the cross-sell data for a product.

Query Parameters

none

Example Requests

/categories/Telecommunication/CellPhones/products/2928109/crosssells

HTTP Status Codes

200 OK
404 Not found 

Description

The following details/attributes are listed for each cross-sell of the product:

  • Type
  • Description
  • Link to /products/<sku>
  • Title

Cartridge

app_sf_rest

Application

B2C Web Shop, SMB Web Shop

Product Version

7.4

Product To Version

7.8
Status

JSON

Request Data Format

n.a.

Request related java object

n/a

Request Example

n/a

Response Data Format

application/json

Response related java object

com.intershop.component.rest.capi.resourceobject.ResourceCollectionRO
com.intershop.sellside.rest.b2c.capi.resourceobject.LinkRO

Response Example

{
    "elements": [
        {
            "type": "Link",
            "description": "S599 128GB Notebook Package SSD, 6.35 cm (2.5 \") SATA II, 1500G, 68g, Black",
            "title": "A-DATA 128GB S599",
            "uri": "PrimeTech-PrimeTechSpecials-Site/b2c-web-shop/products/6830681"
        },
        {
            "type": "Link",
            "description": "16GB C003, USB 2,0, 10g, Blue",
            "title": "A-DATA 16GB C003",
            "uri": "PrimeTech-PrimeTechSpecials-Site/b2c-web-shop/products/5079739"
        }
    ],
    "type": "ResourceCollection",
    "name": "cross-sell-products"
}

XML

XML Request Data Format

n.a.

XML Request Java Objects

n/a

XML Request Example

n/a

XML Response Data Format

text/xml

XML Response Java Objects

com.intershop.component.rest.capi.resourceobject.ResourceCollectionRO
com.intershop.sellside.rest.b2c.capi.resourceobject.LinkRO

XML Response Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ResourceCollection name="cross-sell-products" type="ResourceCollection">
    <elements>
        <Link type="Link">
            <description>S599 128GB Notebook Package SSD, 6.35 cm (2.5 &quot;) SATA II, 1500G, 68g, Black</description>
            <title>A-DATA 128GB S599</title>
            <uri>PrimeTech-PrimeTechSpecials-Site/b2c-web-shop/products/6830681</uri>
        </Link>
        <Link type="Link">
            <description>16GB C003, USB 2,0, 10g, Blue</description>
            <title>A-DATA 16GB C003</title>
            <uri>PrimeTech-PrimeTechSpecials-Site/b2c-web-shop/products/5079739</uri>
        </Link>
    </elements>
</ResourceCollection>

Overview - Intershop Commerce Management REST API

Disclaimer

The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

The Intershop Customer Portal uses only technically necessary cookies. We do not track visitors or have visitors tracked by 3rd parties. Please find further information on privacy in the Intershop Privacy Policy and Legal Notice.
Customer Support
Knowledge Base
Product Resources