Related Documents
Document Properties
KbidE25063
Last Modified26-Nov-2018
Added to KB23-Aug-2013
Public AccessEveryone
StatusOnline
Doc TypeReferences
Product
  • ICM 7.6
  • ICM 7.7
  • ICM 7.8
  • ICM 7.9
  • ICM 7.10

REST API - Returns product notifications B2C


Note

Starting with 7.10 our REST API is documented using Swagger notation accessible at developer.cloud.intershop.com.

URI

/customers/-/notifications

Http Method

GET

Short Description

Returns two links to the stock and price resources

Query Parameters

none

Example Requests

/customers/-/notifications

HTTP Status Codes

200 OK

Description

Returns two links to the stock and price resources

Cartridge

app_sf_rest, app_sf_rest_b2c

Application

B2C Web Shop

Product Version

7.4

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

Response Example

    {
       "elements":
       [
           {
               "type": "Link",
               "uri": "PrimeTech-PrimeTechSpecials-Site/b2c-web-shop;cur=EUR/customers/-/notifications/stock",
               "title": "rest.account.product.stock.notifications"
           },
           {
               "type": "Link",
               "uri": "PrimeTech-PrimeTechSpecials-Site/b2c-web-shop;cur=EUR/customers/-/notifications/price",
               "title": "rest.account.product.price.notifications"
           }
       ],
       "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">
            <title>rest.account.product.stock.notifications</title>
            <uri>PrimeTech-PrimeTechSpecials-Site/b2c-web-shop;cur=EUR/customers/-/notifications/stock</uri>
        </Link>
        <Link type="Link">
            <title>rest.account.product.price.notifications</title>
            <uri>PrimeTech-PrimeTechSpecials-Site/b2c-web-shop;cur=EUR/customers/-/notifications/price</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
Support Tickets