Related Documents
Reference - WebShop REST API 7.8
Document Properties
Kbid
280A45
Last Modified
31-May-2022
Added to KB
27-Oct-2016
Public Access
Everyone
Status
Online
Doc Type
References
Product
ICM 7.10
REST API - Get personalized product assignments


Note

Starting with Intershop 7.10 our REST API is provided in the Open API 3.0 format, see Reference - Intershop Commerce Management 7.10 REST API.

URI

/products;spgid=<personalization_group_id>/<sku>/<assignment>

Http Method

GET

Short Description

Equivalent to /categories/<catID>/products;spgid=<personalization_group_id>/<sku>/<assignment> but without category. See REST API - Get personalized product assignments category.

Query Parameters

For available parameters refer to (depending on your Rest call):

Example Requests

/products;spgid=2.OQ5GnFf7g000TpV0cVgJST0000/M7972533/variations?amount=2&offset=2

/products;spgid=2.OQ5GnFf7g000TpV0cVgJST0000/4852587/reviews/nOIKDADAHjEAAAFX6NkhLPtK

Description

See REST API - Get personalized product data.

Note that /links subresource is not cached at all and there is no need to provide "spgid" on /products resource if response from this subresource is needed.

Cartridge

app_sf_rest
Application

B2C Web Shop, B2C Responsive Shop, SMB Web Shop, SMB Responsive Shop

Product Version

7.8

Product To Version

 
Status

JSON

Request data format

n.a.

Request related java object

n/a

Request data example

n/a

Response data format

application/json

Response related java object

com.intershop.sellside.rest.common.capi.resourceobject.VariationAttributeRO.VariationCollectionRO
com.intershop.component.rest.capi.resourceobject.ResourceCollectionRO
com.intershop.component.rest.capi.resourceobject.LinkRO
com.intershop.sellside.rest.common.capi.resourceobject.ReviewRO
com.intershop.sellside.rest.common.capi.resourceobject.TypedLinkRO

Response data example

Anonymous customer: /products/M7972533/variations

...
{
   "type": "VariationLink",
   "uri": "inSPIRED-inTRONICS-Site/-/products/3934154",
   "title": "A-DATA CH94 Portable 500GB",
   ...
},
...

Anonymous customer: /products;spgid=2.OQ5GnFf7g000TpV0cVgJST0000/M7972533/variations

...
{
   "type": "VariationLink",
   "uri": "inSPIRED-inTRONICS-Site/-/products/3934154",
   "title": "A-DATA CH94 Portable 500GB",
   ...
},
...

Authenticated customer: /products/M7972533/variations

...
{
   "type": "VariationLink",
   "uri": "inSPIRED-inTRONICS-Site/-/products;spgid=2.OQ5GnFf7g000TpV0cVgJST0000/3934154",
   "title": "A-DATA CH94 Portable 500GB",
   ...
},
...

Authenticated customer: /products;spgid=2.OQ5GnFf7g000TpV0cVgJST0000/M7972533/variations

...
{
   "type": "VariationLink",
   "uri": "inSPIRED-inTRONICS-Site/-/products;spgid=2.OQ5GnFf7g000TpV0cVgJST0000/3934154",
   "title": "A-DATA CH94 Portable 500GB",
   ...
},
...

XML

Request data format

n.a.

Request related java object

n/a

Request data example

n/a

Response data format

text/xml

Response related java object

com.intershop.sellside.rest.common.capi.resourceobject.VariationAttributeRO.VariationCollectionRO
com.intershop.component.rest.capi.resourceobject.ResourceCollectionRO
com.intershop.component.rest.capi.resourceobject.LinkRO
com.intershop.sellside.rest.common.capi.resourceobject.ReviewRO
com.intershop.sellside.rest.common.capi.resourceobject.TypedLinkRO

Response data example

Anonymous customer: /products/M7972533/variations

...
<VariationLink type="VariationLink">
    <title>A-DATA CH94 Portable 500GB</title>
    <uri>inSPIRED-inTRONICS-Site/-/products/3934154</uri>
    ...
</VariationLink>
...

Anonymous customer: /products;spgid=2.OQ5GnFf7g000TpV0cVgJST0000/M7972533/variations

...
<VariationLink type="VariationLink">
    <title>A-DATA CH94 Portable 500GB</title>
    <uri>inSPIRED-inTRONICS-Site/-/products/3934154</uri>
    ...
</VariationLink>
...

Authenticated customer: /products/M7972533/variations

...
<VariationLink type="VariationLink">
    <title>A-DATA CH94 Portable 500GB</title>
    <uri>inSPIRED-inTRONICS-Site/-/products;spgid=2.OQ5GnFf7g000TpV0cVgJST0000/3934154</uri>
    ...
</VariationLink>
...

Authenticated customer: /products;spgid=2.OQ5GnFf7g000TpV0cVgJST0000/M7972533/variations

...
<VariationLink type="VariationLink">
    <title>A-DATA CH94 Portable 500GB</title>
    <uri>inSPIRED-inTRONICS-Site/-/products;spgid=2.OQ5GnFf7g000TpV0cVgJST0000/3934154</uri>
    ...
</VariationLink>
...
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