Product: eventProduct

This API captures events related to product interactions on the website or mobile app. This API records product views, clicks, and associated metadata such as category, brand, and pricing information. Tracking these details is critical for understanding customer interest in products and optimizing product-level engagement strategies.

API Endpoint and Method

URL

Copy
https://rcdp-us-east-1.algonomy.com/callback/rest/events/{APP_API_KEY}/eventProduct

Example URL

Copy
https://rcdp-us-east-1.algonomy.com/callback/rest/events/BESQILOBZCGHVLZTCNTGJMYGQEARWVZVCUPYVUGNCZPJRSUDAR/eventProduct

HTTP Method

POST

Parameters

Parameter

Type Required or Optional

Description

productId

String

Required

Specifies the unique product ID.

Example: "3333"

categoryId

String

Optional

Specifies the category ID the product belongs to. Example: "222"
manufacturer

String

Optional

Specifies the product or manufacturer ID.

Example: "12"

brandId

String

Optional

Specifies the associated brand ID of the product.

Example: "10"

price

Float

Required

Specifies the price of the product.

Example: 100.00

Request Body Schema

Copy
{
  "eventData": {
    "productId": "String",
    "categoryId": "String",
    "manufacturer": "String",
    "brandId": "String",
    "price": "Float"
  }
}

Example Request

Copy
{
  "eventData": {
    "productId": "3333",
    "categoryId": "222",
    "manufacturer": "12",
    "brandId": "10",
    "price": 100.00
  }
}

Example Response

Copy
{
  "message": "Product event captured successfully",
  "statusCode": 200
}

HTTP Response Codes

Response Code

Description

202 Accepted The request has been received and validated, but processing is asynchronous and not yet complete.