Tracking Purchase

Use this endpoint to track the purchase event.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

The ID of your chat instance

string
required

The ID of your user session

string
required

The unique ID of the event

string
required

The ID of order that has been placed

int64
required

The total amount of placed order expressed in cents. Eg. $358.21 should be expressed as 35821

string
required

The currency of purchased, eg. USD

lineItems
array of objects
required

List of purchased line items.

lineItems*
int64

The subtotal amount of placed order expressed in cents. Eg. $358.21 should be expressed as 35821

int64

The discount amount of placed order expressed in cents. Eg. $358.21 should be expressed as 35821

int64

The tax amount of placed order expressed in cents. Eg. $358.21 should be expressed as 35821

int64

The shipping costs amount of placed order expressed in cents. Eg. $358.21 should be expressed as 35821

Responses

Language
LoadingLoading…
Response
Choose an example:
application/json