REST API - Get business customer wish list details


Note

Starting with 7.10 our REST API is documented using Redoc accessible at docs.intershop.com.

URI

/customers/-/users/-/wishlists/<wishlist-id>

Http Method

GET

Short Description

Retrieves and returns details about customer's wish list to the client

Query Parameters

none

Example Requests

/customers/-/users/-/wishlists/<wishlist-id>

HTTP Status Codes

200 OK
401 Unauthorized
404 Not found

Description

Returns wish list details to the client

Cartridge

app_sf_rest, app_sf_rest_smb

Application

SMB Web Shop

Product Version

7.5

Product To Version


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.sellside.rest.common.capi.resource.customer.wishlist.CustomerWishlistItemResource
com.intershop.sellside.rest.common.capi.resourceobject.WishListRO

Response Example

{
    "type": "WishList",
	"creationDate": 1401710462448,    
	"public": true,
    "preferred": true,
    "title": "UpdatedWishlist 123",
    "items":
    [
        {
            "type": "Link",
            "uri": "PrimeTech-PrimeTechBusiness-Site/smb-web-shop/products/859910",
            "attributes":
            [
                {
                    "name": "id",
                    "type": "String",
                    "value": "tHQKDgBeLLEAAAFCAKI_4H.E"
                },
                {
                    "name": "creationDate",
                    "type": "Long",
                    "value": 1401710462455
                },
                {
                    "name": "desiredQuantity",
                    "type": "Quantity",
                    "value":
                    {
                        "type": "Quantity",
                        "value": 2,
                        "unit": "N/A"
                    }
                },
                {
                    "name": "sku",
                    "type": "String",
                    "value": "859910"
                }
            ]
        }
    ],
    "itemsCount": 1
}

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.sellside.rest.common.capi.resource.customer.wishlist.CustomerWishlistItemResource
com.intershop.sellside.rest.common.capi.resourceobject.WishListRO

XML Response Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<WishList type="WishList">
  <creationDate>1401710462448</creationDate>
  <items>
    <Link type="Link">
      <attributes>
        <ResourceAttribute name="id" type="String">
          <value>tHQKDgBeLLEAAAFCAKI_4H.E</value>
        </ResourceAttribute>
        <ResourceAttribute name="creationDate" type="Long">
          <value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:long">1401710462455</value>
        </ResourceAttribute>
        <ResourceAttribute name="desiredQuantity" type="ResourceAttribute">
          <value type="Quantity">
            <unit>N/A</unit>
            <value>2</value>
          </value>
        </ResourceAttribute>
        <ResourceAttribute name="sku" type="String">
          <value>859910</value>
        </ResourceAttribute>
      </attributes>
      <uri>PrimeTech-PrimeTechBusiness-Site/smb-web-shop/products/859910</uri>
    </Link>
  </items>
  <itemsCount>1</itemsCount>
  <preferred>true</preferred>
  <public>true</public>
  <title>UpdatedWishlist 123</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