Add to Cart

This event should be fired when a user adds things to their shopping cart.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
{
  "uid": "d284fb3c-5c29-e316-ed71-8ce7852f8e50", //required, any unique string that tracks the user currently browsing
  "parentURL": "https://referral-url.com", //optional but recommended, the URL on which the user loaded the widget
  "API_KEY": "abcdefg", //required, the Pixlee ACCOUNT PRIVATE API KEY
  "product_sku": "SL-BENJ", //required, the sku of the product being added to cart
  "price": '13.00', //required, the price of the item being added to cart
  "quantity": 1, // required, the number of items added to cart
  "currency": "USD" // required, the ISO 4217 currency code
}
Query Params
string
required

Account Private API Key (can also be api_key)

string

Distinct user hash for the visitor. Must be at least 5 characters for the event to be processed.

uri

Page URL where the event occurred. (Recommended)

string

Browser fingerprint used to resolve the visitor device.

string

Client IP address.

Item price. Accepts a numeric string or number.

Quantity added to cart. Accepts an integer or numeric string. Defaults to 1 when omitted.

string

Product SKU.

Native product identifier. Accepts a string or number.

Variant identifier. Accepts a string or number.

string

Commerce platform name.

Responses

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