Add To Cart Event

Send data to Simon about what products customers have added to their carts. See Event Details and Descriptions for more detail.

Body Params
string
enum
required

The high level type of request being sent in can be either track or identify.

Allowed:
string
enum
required

Event type: Must be add_to_cart

Allowed:
string

Custom user identifier

traits
object
string
required

The internal partnerId Simon uses to identify the customer's site.

context
object
required

A dictionary containing optional fields about the context of the event.

string
required

A unique identifier for the device. If no unique identifier for the device can be maintained this may be a unique identifier for the current session (max length: 45 characters).

string
required

The shared secret used for authentication.

string

The public IP address of the users device if available.

integer
required

Epoch time in milliseconds of when the request was sent. Epoch time is the number of milliseconds that have elapsed since January 1, 1970 (midnight UTC/GMT).

integer

The time difference between UTC time and local time, in minutes. See https://www.w3schools.com/jsref/jsref_gettimezoneoffset.asp for an example.

properties
object
required
Responses
200

Success (Returns no JSON)

Language
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json