saveBrowsingEvent

post

/ccstore/v1/audienceContext/addBrowsingEvent

Save the browsing page view data for the current user.

Request

Supported Media Types
Body ()
Root Schema : saveBrowsingEvent_request
Type: object
Show Source
Example:
{
    "pageView":{
        "catalogId":"cloudLakeCatalog",
        "id":"Product_35Fxy",
        "type":"PRODUCT"
    }
}
Nested Schema : pageView
Type: object
A browsing page view event data
Show Source
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : saveBrowsingEvent_response
Type: object
Show Source
Example:
{
    "application/json":{
        "catalogId":"cloudLakeCatalog",
        "links":[
            {
                "rel":"self",
                "href":"http://example.com/ccstore/v1/audienceContext/addBrowsingEvent"
            }
        ],
        "id":"Product_35Fxy",
        "type":"PRODUCT"
    }
}

Default Response

The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |54098|The request was missing the required behavioral data body.| |54099|No page view data specified in the request.| |54100|Invalid page type specified for data collection, the expected values are "PRODUCT" or "CATEGORY".| |54101|Type not specified for page view entry.| |54102|Catalog Id not specified for page view entry.| |54103|Id not specified for page view entry.|
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