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
}
Body Params
json

See example code to the right for required and optional fields.

Responses

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