addProductNotification

post

/ccstore/v1/productnotify

Create a new product notification to send an email to a user when the specified product comes back in stock.

Request

Supported Media Types
Body ()
Root Schema : generateProductNotify_request
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

An object is returned that represents the product notification that has been added.
Body ()
Root Schema : generateProductNotify_response
Type: object
Show Source
Nested Schema : properties
Type: object
JSON Object representing the notification added
Example Response (application/json)
{
    "expiryDate":"2017-10-25T10:19:51.315Z",
    "dateCreated":"2017-09-25T10:19:51.315Z",
    "productId":"prod10001",
    "profileId":"profile1",
    "siteId":"siteUS",
    "links":[
        {
            "rel":"self",
            "href":"/ccstoreui/v1/productNotify/"
        }
    ],
    "locale":"en",
    "email":"",
    "skuId":"sku30005",
    "dateUpdated":null
}

Default Response

The error response
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top