Related Documents
Document Properties
Kbid25460F
Last Modified23-Jun-2020
Added to KB07-Jan-2014
Public AccessEveryone
StatusOnline
Doc TypeReferences
Product
  • ICM 7.6
  • ICM 7.7
  • ICM 7.8

REST API - Get product assigned categories in category (until 7.8)

URI

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

Http Method

GET

Short Description

Get list of the implicitly and explicitly assigned categories to a product.

Query Parameters

 

Example Requests

/categories/Computers/206/1563/products/11089966/categories

HTTP Status Codes

200 OK
404 Not found 

Description

Get list of the implicitly and explicitly assigned categories to a product.

Cartridge

app_sf_rest

Application

B2C Web Shop, SMB Web Shop

Product Version

7.4

Product To Version

 7.8

Status

final

JSON

Request Data Format

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.component.rest.capi.resourceobject.LinkRO

Response Example

{
    "elements": [
        {
            "type": "Link",
            "description": "",
            "title": "Binoculars",
            "uri": "PrimeTech-PrimeTechSpecials-Site/b2c-web-shop/categories/Cameras-Camcorders/1421"
        },
        {
            "type": "Link",
            "description": "",
            "title": "Solid State Drives",
            "uri": "PrimeTech-PrimeTechSpecials-Site/b2c-web-shop/categories/Computers/206/1563"
        }
    ],
    "type": "ResourceCollection"
}

XML

XML Request Data Format

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.component.rest.capi.resourceobject.LinkRO

XML Response Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ResourceCollection type="ResourceCollection">
    <elements>
        <Link type="Link">
            <description></description>
            <title>Binoculars</title>
            <uri>PrimeTech-PrimeTechSpecials-Site/b2c-web-shop/categories/Cameras-Camcorders/1421</uri>
        </Link>
        <Link type="Link">
            <description></description>
            <title>Solid State Drives</title>
            <uri>PrimeTech-PrimeTechSpecials-Site/b2c-web-shop/categories/Computers/206/1563</uri>
        </Link>
    </elements>
</ResourceCollection>

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.

Customer Support
Knowledge Base
Product Resources
Tickets