Related Documents
Document Properties
Kbid2F5788
Last Modified23-Jun-2020
Added to KB05-Jun-2014
Public AccessEveryone
StatusOnline
Doc TypeReferences

REST API - Public wish list details (until 7.4 CI)

URI

/wishlists/<wishlistID>

Http Method

GET

Short Description

Returns a details view of a public wish list.

Query Parameters

none

Example Requests

/wishlists/<wishtlidID>;owner=<userID>

HTTP Status Codes

200 OK
404 Not found

Description

Returns details on a public wish list created by private customer or a business customer.

200 - status code is returned when the wish list and its owner are existing and the wish list belongs to the owner
404 - when either of the required IDs are wrong or invalid.

Cartridge

app_sf_rest

Application

B2C Web Shop, SMB Web Shop

Product Version

7.4

Product To Version

7.4.6

Status

final

JSON

Request Data Format

Request related java object

com.intershop.sellside.rest.b2c.capi.resource.wishlist.PublicWishlistItemResource

Request Example

n/a

Response Data Format

application/json

Response related java object

com.intershop.sellside.rest.b2c.capi.resource.wishlist.PublicWishlistItemResource
com.intershop.sellside.rest.b2c.capi.resourceobject.WishListRO
com.intershop.sellside.rest.b2c.capi.resourceobject.WishListItemRO

Response Example

{
    "type": "WishList",
    "title": "mywish",
    "items": [
        {
            "type": "Link",
            "uri": "PrimeTech-PrimeTechSpecials-Site/b2c-web-shop/products/5079807",
            "attributes": [
                {
                    "name": "id",
                    "type": "String",
                    "value": "1QEKAB14MaoAAAFLo0hHIHlv"
                },
                {
                    "name": "creationDate",
                    "type": "String",
                    "value": "Wed Feb 11 17:18:31 CET 2015"
                },
                {
                    "name": "desiredQuantity",
                    "type": "ResourceAttribute",
                    "value": {
                        "type": "Quantity",
                        "unit": "N/A",
                        "value": 1
                    }
                },
                {
                    "name": "sku",
                    "type": "String",
                    "value": "5079807"
                }
            ]
        }
    ],
    "itemsCount": 1
}

XML

XML Request Data Format

XML Request Java Objects

com.intershop.sellside.rest.b2c.capi.resource.wishlist.PublicWishlistItemResource

XML Request Example

n/a

XML Response Data Format

text/xml

XML Response Java Objects

com.intershop.sellside.rest.b2c.capi.resource.wishlist.PublicWishlistItemResource
com.intershop.sellside.rest.b2c.capi.resourceobject.WishListRO
com.intershop.sellside.rest.b2c.capi.resourceobject.WishListItemRO

XML Response Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<WishList type="WishList">
    <items>
        <Link type="Link">
            <attributes>
                <ResourceAttribute name="id" type="String">
                    <value>1QEKAB14MaoAAAFLo0hHIHlv</value>
                </ResourceAttribute>
                <ResourceAttribute name="creationDate" type="String">
                    <value>Wed Feb 11 17:18:31 CET 2015</value>
                </ResourceAttribute>
                <ResourceAttribute name="desiredQuantity" type="ResourceAttribute">
                    <value type="Quantity">
                        <unit>N/A</unit>
                        <value>1</value>
                    </value>
                </ResourceAttribute>
                <ResourceAttribute name="sku" type="String">
                    <value>5079807</value>
                </ResourceAttribute>
            </attributes>
            <uri>PrimeTech-PrimeTechSpecials-Site/b2c-web-shop/products/5079807</uri>
        </Link>
    </items>
    <itemsCount>1</itemsCount>
    <title>mywish</title>
</WishList>

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
Support Tickets